Project

General

Profile

Actions

Bug #91889

closed

AssetRenderer does not respect FE.versionNumberInFilename

Added by Torben Hansen over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2020-07-29
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #91219: AssetCollector (or Renderer) does not consider [FE][versionNumberInFilename]ClosedJonas Eberle2020-04-28

Actions
Actions

Also available in: Atom PDF