[TYPO3-v4] Compressor issues

Steffen Gebert steffen at steffen-gebert.de
Tue Jun 1 15:48:08 CEST 2010


Hi Steffen,

think we have already talked about this once.

> * js files are not compressed. There is a call
> $filesAfterCompression[$this->compressCssFile($filename)] = $fileOptions;
> but it has no effect - result is same file as before, no stripped white  
> space, empty lines and comments are not stripped

There is a compressCss within something regarding JS? :-O
I didn't dare to touch JS code, as I have no idea, if this always works  
perfectly or what rules we should use.

> * js files are not concatenated. This leads to the same amount of  
> requests as before.
Problem is that we need to know, which files can be concatenated. Don't  
know, how sophisticated rules we need:
* ExtJS JS together
* Prototype/Scriptaculous together
* JS-files from typo3/js/ added in template.php together
* ..?

> Imho this should be improved / fixed for RC1
Personally I will focus on (visible) skin issues, but of course, I will  
appreciate improvements to t3lib_compress!

Steffen


More information about the TYPO3-project-v4 mailing list