CQ Clientlibs debug tips
Clientlibs
Clientlibs dependencies console http://localhost:4502/libs/granite/ui/content/dumplibs.html
Rebuild clientlibs http://localhost:4502/libs/granite/ui/content/dumplibs.rebuild.html
Debug clientlibs Append ?debugClientLibs=true to write out single file and CTRL+SHIFT+U gives you timing info.
Where are the generated files stored in CQ?
They are in /var/clientlibs
When developing I want to have single file references in my HTML
Enable the debug-option in the HTML Library Manager
How can I use cache-busting and clientlibs?
You can enable the hashing of the url via ‘versioned clientlibs’.
To see a “final View” of your test page without to publish: wcmmode=disabled
http://localhost:4502/cf#/content/geometrixx/folder/test.html?wcmmode=disabled
Reference
- Clientlibs explained by example http://blogs.adobe.com/experiencedelivers/experience-management/clientlibs-explained-example/
- Using Client-Side Libraries https://docs.adobe.com/docs/en/cq/5-6-1/developing/clientlibs.html
Happy Coding! 😇
This post is licensed under CC BY 4.0 by the author.
Comments powered by Disqus.