Bug #91312
closedCSS/JS added via AssetCollector does not respect compression and concatenation
0%
Description
Problem/Description¶
Seems like the known compression and concatenation settings in TypoScript aren't taken into account in the compress and concatenation handler. There is an info in the rST https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.3/Feature-90522-IntroduceAssetCollector.html#considerations but there is no official statement about the "why". Some guys already asked for this particular stuff when talking about the nice new assetcollector.
ToDo(s)¶
I can imagine something like
- adding a clear information about why this is not (and will be not) implemented (in the future)
- or add support jsConcatenateHandler cssConcatenateHandler jsCompressHandler cssCompressHandler
- maybe it makes sense to add a feature toggle for it if there are any valid reasons for not adding them globally to the handlers
Updated by Patrick Lenk almost 4 years ago
I can confirm this. Assets from f:asset.css and f:asset.script ViewHelper are not compressed.
Updated by Roman Büchler almost 3 years ago
- Related to Bug #93511: Assets from f:asset VH do not get concatenated added
Updated by Patrick Lenk over 2 years ago
With EXT:min version 2.1.0 it is now possible to compress assets added with AssetCollector. https://extensions.typo3.org/extension/min
Updated by Jonas Eberle 6 months ago
- Has duplicate Bug #93511: Assets from f:asset VH do not get concatenated added
Updated by Riccardo De Contardi 6 months ago
- Status changed from New to Closed
I close this issue as a duplicate of #93511 - please continue the discussion there.
If you think that this is the wrong decision please reopen it or let me know and I'll do it.