[TASK] Disable compression for inlineJs in Backend
authorSteffen Gebert <steffen.gebert@typo3.org>
Tue, 9 Aug 2011 19:51:32 +0000 (21:51 +0200)
committerHelmut Hummel <typo3@helmut-hummel.de>
Sat, 10 Sep 2011 16:56:05 +0000 (18:56 +0200)
commitc4209b112c0546266ccce09d5ea5227323e15b73
treecdab5715e6375bcd589454eb0fd4e75f805ed56c
parentb22e722469a0d112238adc45fbaf8a34ff17992d
[TASK] Disable compression for inlineJs in Backend

JSMin is a major performance nightmare and no network connection can be
as slow as it would justify to spend so much time to execute JSmin
several times for each and every backend request.

As long as we have no fast replacement in core available, disable
compression for all JS snippets added with
t3lib_PageRenderer::addJsInlineCode in the Backend.

JSMin's share of execution time was about 20-25% of the page generation
time, for almost empty backend pages even ~50%.

Change-Id: I5623ad6c8b9d24777b6bcf46ea97bf51eb9c62d3
Resolves: #29498
Reviewed-on: http://review.typo3.org/4778
Reviewed-by: Xavier Perseguers
Reviewed-by: Björn Pedersen
Tested-by: Björn Pedersen
Reviewed-by: Philipp Gampe
Tested-by: Philipp Gampe
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
t3lib/class.t3lib_pagerenderer.php
typo3/backend.php
typo3/sysext/cms/layout/wizard_backend_layout.php
typo3/template.php