Enabling Longcache versions of Client Side Libraries | Community
Skip to main content
rgravisankar
New Participant
October 21, 2021
Solved

Enabling Longcache versions of Client Side Libraries

  • October 21, 2021
  • 3 replies
  • 1905 views

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.
Best answer by Asutosh_Jena_

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!

3 replies

Asutosh_Jena_
Asutosh_Jena_Accepted solution
New Participant
October 22, 2021

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!

rgravisankar
New Participant
October 22, 2021

Thanks @asutosh_jena_ , It works now. 

Anny0505
New Participant
October 21, 2021

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

 

 

Bhuwan_B
New Participant
October 21, 2021