[TYPO3-dev] prototype and compressed

Steffen Kamper steffen at sk-typo3.de
Wed Mar 12 13:57:40 CET 2008


"Dmitry Dulepov [typo3]" <dmitry at typo3.org> schrieb im Newsbeitrag 
news:mailman.1.1205323571.29067.typo3-dev at lists.netfielders.de...
> Hi!
>
> Steffen Kamper wrote:
>> BE nearly always include prototype library, sometimes scriptacolous. The 
>> libraries are uncompressed all the time.
>> This is good for debugging, but not for performance.
>>
>> I would like to have a switch to use compressed libraries, this could 
>> speed up BE.
>
> Hint: you can use t3lib_div::minifyJS to compress it. Why we may need a 
> switch?
>
> -- 

because prototype.js is included as it is without JSprocessing. I see 2 
possibilities:

1) centralize the inclusion of prototype, maybe in t3lib_div and process the 
switch wether it should be minified or not
2) use switch in every manual inclusion

I would prefer to use the delivered compressed lib instead doing it with 
minify as the compressed lib is improved and no time for conversion is 
needed

vg  Steffen 






More information about the TYPO3-dev mailing list