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

Enabling Longcache versions of Client Side Libraries

  • October 21, 2021
  • 3 replies
  • 1906 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

Bhuwan_B
Community Advisor
Community Advisor
October 21, 2021
Anny0505
Community Advisor
Community Advisor
October 21, 2021

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

 

 

Asutosh_Jena_
Community Advisor
Asutosh_Jena_Community AdvisorAccepted solution
Community Advisor
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
Level 2
October 22, 2021

Thanks @asutosh_jena_ , It works now.