assets cache Jahia 7.3 Jahia 8

CSS, JS assets behaviour in browser cache

Question

Is there a way to force the browser to reload assets when they are updated?

Answer

Yes, the currently undocumented property addLastModifiedDateInAssets 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