[TASK] Disable compression for inlineJs in Backend
authorSteffen Gebert <steffen.gebert@typo3.org>
Tue, 9 Aug 2011 19:51:32 +0000 (21:51 +0200)
committerGeorg Ringer <mail@ringerge.org>
Wed, 8 Feb 2012 06:44:13 +0000 (07:44 +0100)
commit633657b085ce0f99aa4c72fb44e47886c33c2201
tree20d3fcfefeea04cbca8f73924d67b671f603db3a
parentc91dfffaeb4fe14ef2f4d0c75dda4db681478ec2
[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: Iabbd092a349dec6e84c40b7b7c750bc718168d85
Resolves: #29498
Releases: 4.6, 4.5
Reviewed-on: http://review.typo3.org/7201
Reviewed-by: Ernesto Baschny
Tested-by: Ernesto Baschny
Reviewed-by: Sebastian Fischer
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Oliver Klee
Reviewed-by: Georg Ringer
Tested-by: Georg Ringer
t3lib/class.t3lib_pagerenderer.php
typo3/backend.php
typo3/sysext/cms/layout/wizard_backend_layout.php
typo3/template.php