How to configure the browser cache

  Written by The Jahia Team
 
Sysadmins
  cache
   Estimated reading time:
7.1.1

The customer would like to change the cache settings which is set to 1 month by default in the last-urlrewrite.xml file of the ROOT/WEB-INF/lib/jahia-impl-7.1.1.0.jar library. He has followed the procedure to change this cache as defined at https://academy.jahia.com/documentation/techwiki/services/urls-management#Browser_caching​
However, the cache is still set to 1 month

Cause

The setting of this cache must be done in a separate file

Solution

The best solution is to add a file of type urlrewrite at the module level or in a generic module which manages the cache of your resources (CSS, js, gif, etc.)