Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Enabling Longcache versions of Client Side Libraries

Avatar

Level 2

Hi All,

We would like to enable the longcache version on client libs CSS/JS, I have followed document of versioned-clientlbs which did not helped me. Can any one suggest me here. Thanks.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @rgravisankar 

 

Please add the below property to your HTML Library Manager OSGi configuration (com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl).

 

htmllibmanager.longcache.patterns="/.*;auto"

 

Make sure you are not using ACS Commons Versioned Clientlibs.

 

Thanks!

View solution in original post

4 Replies

Avatar

Community Advisor

Yes, the above article help you to create and use long cached libraries.

 

 

Avatar

Correct answer by
Community Advisor

Hi @rgravisankar 

 

Please add the below property to your HTML Library Manager OSGi configuration (com.adobe.granite.ui.clientlibs.impl.HtmlLibraryManagerImpl).

 

htmllibmanager.longcache.patterns="/.*;auto"

 

Make sure you are not using ACS Commons Versioned Clientlibs.

 

Thanks!