Enabling Longcache versions of Client Side Libraries | Community
Skip to main content
rgravisankar
Level 2
Oct 21, 2021 10:18 AM UTC
Solved

Enabling Longcache versions of Client Side Libraries

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Oct 22, 2021 3:13 AM UTC

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!

4 replies

Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
Oct 22, 2021 3:13 AM UTC

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!

Translate
rgravisankar
Level 2
Oct 22, 2021 6:11 AM UTC

Thanks @asutosh_jena_ , It works now. 

Translate
Anny0505
New Participant
Oct 21, 2021 1:23 PM UTC

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

 

 

Translate