Project

General

Profile

Actions

Bug #91312

open

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

Added by Josef Glatz almost 4 years ago. Updated over 1 year 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

Related issues 1 (1 open0 closed)

Related to TYPO3 Core - Bug #93511: Assets from f:asset VH do not get concatenatedNew2021-02-14

Actions
Actions #1

Updated by Patrick Lenk about 3 years ago

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

Actions #2

Updated by Patrick Lenk over 2 years ago

Any news here? Thanks

Actions #3

Updated by Roman Büchler over 2 years ago

  • Related to Bug #93511: Assets from f:asset VH do not get concatenated added
Actions #4

Updated by Patrick Lenk over 1 year ago

With EXT:min version 2.1.0 it is now possible to compress assets added with AssetCollector. https://extensions.typo3.org/extension/min

Actions

Also available in: Atom PDF