[TYPO3-english] Minifying JS and CSS, good tools or extensions?

Jacco van der Post jacco at id-internetservices.com
Tue May 13 13:22:35 CEST 2014


Loek Hilgersom schreef op 13-5-2014 11:58:

>
>
> It's very unlikely that the order of the TS-lines makes any difference,
> because it'll be parsed to an array where the order of the lines won't
> matter.
>
Jigal van Hemert schreef op 13-5-2014 12:50:
>
> With the core functionality this makes no difference.
> \TYPO3\CMS\Core\Page\PageRenderer::renderJavaScriptAndCss() will first
> do the concatenation and then compress the JS/CSS if the options are
> enabled.
>

Just test for yourself, switch the pairs and run via webdeveloper 
toolbar -> Information, View Document Size (can take a while).

It's kinda weird, doing this with a site with a foundation.css gives 
vice versa result swithing these lines, compared to a site with a 
bootstrap.css


-- 
Kind Regards

Jacco van der Post



More information about the TYPO3-english mailing list