Issue Feature Closed

#103617Cache busting parameter for f:uri.resource via createVersionNumberedFilename()

Christian Weiske 04/12/24, 12:05 updated 06/25/24, 12:48

Description

Javascript and CSS files automatically get a cache-busting GET parameter (filemtime timestamp) when versionNumberInFilename is activated.

It would be helpful to have an attribute to the <f:uri.resource> view helper to get this behavior for manual file includes.

GeneralUtility::createVersionNumberedFilename() is used for CSS and JS files, and the same could be used for <f:uri.resource>.

Reviews 1