#98481Hash package version into public resource paths
Description
This applies to installations in TYPO3 composer mode using
typo3/cms-composer-installers v4 where TYPO3 extensions
are stored in vendor/ and their public resources as linked
to public/_assets/.
The symlink name in public/_assets/ should be extended to be not
just a hash of the relative path to the vendor folder, but also
acts as a cacheHash, by including the package version into the
symlink name.
That means an extension update of packages/extensions
will trigger a new symlink name.
This has the drawback that that names in public/_assets/ are
no longer predictable, but brings the benifit that this will allow
TYPO3 to skip modification-timstamp-lookups in
GeneralUtility::createVersionNumberedFilename() and to generate
performant JavaScript importmaps via trailing slashes1 syntax.
Reviews 3
Related issues 1
History 14
-
Gerrit Code Review pushed patch set 1 for main to change 75924 status
NewUnder Review <span data-processor="relativetime" data-value="2022-09-30T12:59:02+00:00" > 09/30/22, 12:59 </span> -
Gerrit Code Review pushed patch set 2 for main to change 75924 <span data-processor="relativetime" data-value="2022-09-30T13:19:59+00:00" > 09/30/22, 13:19 </span>
-
Gerrit Code Review pushed patch set 3 for main to change 75924 <span data-processor="relativetime" data-value="2022-09-30T14:08:05+00:00" > 09/30/22, 14:08 </span>
-
Benjamin Franzke changed Related to #103954 <span data-processor="relativetime" data-value="2024-05-30T06:50:31+00:00" > 05/30/24, 06:50 </span>