[TYPO3-core] RFC: minify JavaScript

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Tue Sep 11 18:03:55 CEST 2007


Ernesto Baschny [cron IT] schrieb:
> Dmitry Dulepov [typo3] wrote: on 11.09.2007 12:50:
> 
>> Solution: use JSMin library (Expat (MIT) license, compatible with GPL)
>> to minify javascript. Catch errors and return unminified script if error
>> happens. It is safe because JSMin was around for ages and used by many
>> products nowadays. Result is cached, so no real impact on performance.
>>
> 
> Cool stuff, it works. +1 for the addition.
> 
> ...
> Opinios?

rtehtmlarea currently uses hand-made compressed JS files. I think this 
could be rewritten to to use JSMin. Especially as rtehtmlare copies its JS 
files to typo3temp anyway.

I guess that will make it easier to maintain its JS code.

Masi


More information about the TYPO3-team-core mailing list