For publish instance for validating captcha on server side I had to add CQ.HTTP.get method .But to this on publish instance I had to add <cq:includeClientlib categories="cq.widgets"/> .But the problem I see with this is in already exisitng pages this adds all the unused components with grey box .That is not a good thing on production pages to visitors.
So wanted to know as how this could be avoided and what minimal client lib code i could use to achieve it
Thanks,
Srinivas