Bug #91889
closedAssetRenderer does not respect FE.versionNumberInFilename
100%
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.
Updated by Gerrit Code Review over 4 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65238
Updated by Gerrit Code Review over 4 years ago
Patch set 1 for branch 10.4 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/65255
Updated by Georg Ringer over 4 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 20e054355b66792e083acf620adcd252ede3a33d.
Updated by Georg Ringer about 4 years ago
- Related to Bug #91219: AssetCollector (or Renderer) does not consider [FE][versionNumberInFilename] added