miminal include library for cq.http.get | Community
Skip to main content
srinivas_channa
October 16, 2015
Solved

miminal include library for cq.http.get

  • October 16, 2015
  • 2 replies
  • 688 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sham_HC

<cq:includeClientLib js="cq.shared"/>

2 replies

Sham_HC
Sham_HCAccepted solution
October 16, 2015

<cq:includeClientLib js="cq.shared"/>

srinivas_channa
October 16, 2015

Thanks it worked