Bug #91312

CSS/JS added via AssetCollector does not respect compression and concatenation

Added by Josef Glatz over 1 year ago. Updated 9 months ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2020-05-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
assetcollector,compression,concatenation,css,js
Complexity:
Is Regression:
Sprint Focus:

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
#1

Updated by Patrick no-lastname-given 9 months ago

I can confirm this. Assets from f:asset.css and f:asset.script ViewHelper are not compressed.

Also available in: Atom PDF