Review main Ready for review

97627[FEATURE] Add BeforeCacheBustingVersionIsAddedEvent

Benni Mack CR +1 V +1 Normal +194 −11 updated 11/13/26, 22:36

Commit message

URIs to public extension resources carry the modification time of the
file for cache busting. Deployments that create new containers or
releases change the modification time of every file, so browsers
download all assets again even if their content is unchanged.

The new BeforeCacheBustingVersionIsAddedEvent is dispatched before the
version is added to the URI and allows listeners to replace it, for
example with a hash of the file content. The modification time stays
the default. An empty version omits cache busting.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 1
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/27/97627/1 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/27/97627/1 && git cherry-pick FETCH_HEAD

Review

  • Code review CR +1 Needs a vote
    • Simon Schaufelberger +1
  • Verified V +1 Needs a vote
    • Simon Schaufelberger +1

Merge conflicts 2

Issues 1

Files 6

Review log 2

  1. Benni Mack uploaded patch set 1 11/13/26, 19:06

  2. Simon Schaufelberger voted on patch set 1 CR +1 V +1 11/13/26, 22:36