Project

General

Profile

Actions

Bug #91312

closed

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

Added by Josef Glatz about 4 years ago. Updated about 2 months ago.

Status:
Closed
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 2 (2 open0 closed)

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

Actions
Has duplicate TYPO3 Core - Bug #93511: Assets from f:asset VH do not get concatenatedNew2021-02-14

Actions
Actions #1

Updated by Patrick Lenk over 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 almost 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

Actions #5

Updated by Jonas Eberle about 2 months ago

  • Has duplicate Bug #93511: Assets from f:asset VH do not get concatenated added
Actions #6

Updated by Riccardo De Contardi about 2 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.

Actions

Also available in: Atom PDF