[TYPO3-core] Backporting #29498 Disable compression for inlineJs in Backend

Steffen Gebert steffen.gebert at typo3.org
Sun Dec 11 22:07:54 CET 2011


Hi Ernesto,

I've just pushed #29498 "Disable compression for inlineJs in Backend" to 
4.5 [1].

People say that the BE of 4.6 feels faster than in 4.5 (*) and this was 
(to my knowledge) the only change really affecting BE speed (**)

Therefore I ask for including it into 4.5. Reasons given in the commit 
message:

> 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%.

As I cannot imagine any problems (and there have been no complains about 
4.6 not minifying inline-js in the BE), I think this one helps at least 
a bit improving reaction time of 4.5-BE.

Kind regards
Steffen

-- 
(*) according to a non-representative twitter survey
(**) of course, except things like autoloader cache for an overall 
faster TYPO3
[1] http://review.typo3.org/7201

Steffen Gebert
TYPO3 v4 Core Team Member
TYPO3 Server Administration Team Member

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org


More information about the TYPO3-team-core mailing list