Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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!