#91889AssetRenderer does not respect FE.versionNumberInFilename
Description
The AssetRenderer for the new AssetCollector in TYPO3 10.4 does not respect the $GLOBALS['TYPO3_CONF_VARS']['FE']['versionNumberInFilename'] setting.
This is a problem, when rendered assets (e.g. JavaScript files) are rendered and cached on the client. When the content of the asset changes server side, the client will not reload the updated asset, since the filename is the same.
We should use GeneralUtility::createVersionNumberedFilename in AssetRenderer::getAbsoluteWebPath() so versioned file names are created.
Reviews 4
- main 87224[BUGFIX] Fix missing version number of files from custom backend modules
- 13.4 89013[BUGFIX] Fix missing version number of files from custom backend modules
- 10.4 65255[BUGFIX] Use GeneralUtility::createVersionNumberedFilename in AssetRenderer
- main 65238[BUGFIX] Use GeneralUtility::createVersionNumberedFilename in AssetRenderer