CSS, JS assets behaviour in browser cache

  Written by The Jahia Team
 
Sysadmins
   Estimated reading time:
7.1.2.1
Is there a way to force the browser to reload assets when they are updated?

Answer

Yes, the currently undocumented propertyaddLastModifiedDateInAssets must be set to true in jahia.properties. This property will force Jahia to add the last update date in the file name.

This property is only usable starting Jahia version 7.1.2.1

A documentation ticket has been open in Jira: BACKLOG-6778