Project

General

Profile

Actions

Bug #75127

open

Performance problem compress/concatenate CSS/JS

Added by Aimeos no-lastname-given about 8 years ago. Updated over 7 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
Performance
Target version:
-
Start date:
2016-03-15
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

We've discovered a major performance issue in all version since at least 6.2 up to 7.6 (previous versions might be affected too):

The TypoScript configuration options to concatenate and compress CSS/JS files triple page render time if the page isn't fully cached. For example, render time increases from 350ms to over 1000ms in our installation.

This is the case if at least one frontend plugin on this page is configured that its output shouldn't be cached. It seems that for every request, the files are checked for modifications and maybe the files are re-processed. The only way to ensure that page render times reasonable is to enforce these TypoScript settings (esp. when the bootstrap_package is installed):

config.concatenateCss = 0
config.compressCss = 0
config.concatenateJs = 0
config.compressJs = 0

To fix the issue, compressed/concatenated files should only be created if they aren't available and clearing the cache should remove the compressed/concatenated files.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Task #32758: Cache result of JS and CSS file concatenationClosedJigal van Hemert2011-12-21

Actions
Actions #1

Updated by Gerrit Code Review about 8 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/47295

Actions #2

Updated by Andreas Kienast over 7 years ago

  • Status changed from Under Review to New
Actions

Also available in: Atom PDF