[TYPO3-german] JS/CSS Compression für Inline-JS und -CSS

Daniel Koch danielkoch.de at gmail.com
Wed Jan 2 07:52:14 CET 2013


Danke für die Antworte,

funktioniert hat es bei 4.7.7 korrekterweise mit den compress*- bzw. concatenate*-Parametern.

Nun Inline-CSS bzw. -JS wird scheinbar nicht berücksichtigt. Ich bleibe beim scriptmerger...

Viele Grüße
Daniel
Am 01.01.2013 um 03:44 schrieb Michael:

> On 01/01/13 06:23, Daniel Bachmann wrote:
> 
>> config {
>>   minifyJS = 0
>>   minifyCSS = 0
>>   compressJs = 0
>>   compressCss = 0
>>   concatenateJs = 0
>>   concatenateCss = 0
>> }
>> 
>> Ich glaube das funktioniert ab Version 4,6. Ggf. auch 4.5.
> 
> Ist meines Wissens nach erst ab 4.6 eingefuehrt worden. "minify*" und
> "compress*" sind identisch, wobei "minify" nicht mehr benutzt werden sollte:
> 
> config.compressJs is the new name for config.minifyJS which has been
> deprecated.
> config.compressCss is the new name for config.minifyCSS which has been
> deprecated.
> 
> see: Rename and deprecate config.minifyJS/config.minifyCSS
> http://forge.typo3.org/issues/28677
> 
> Ein paar weitere Infos findet man auch in den Release Notes von 4.6,
> ganz am Ende der Seite, unter "JS/CSS Compression":
> http://wiki.typo3.org/TYPO3_4.6
> 
> Ausserdem sollte an dieser Stelle erwaehnt werden, dass "compression of
> javascript files with jsmin" in 6.0 wieder entfernt wurde:
> 
> (quote) "The default compression of certain javascript files in frontend
> and backend with the jsmin library was removed from the core due to
> license issues. The code segment was substituted with a hook, so
> extensions can now deliver compression solutions if needed. In general,
> it is a good idea to configure a webserver to compress javascript and
> css files on the webserver with gzip."
> 
> see: jsmin.php uses non-free license
> http://forge.typo3.org/issues/31832
> 
> Man sollte also etwas aufpassen, wie und mit welcher TYPO3 version man
> die JS/CSS compression vom core einsetzt :-)
> 
> 
> Cheers
> Michael
> 
> _______________________________________________
> TYPO3-german mailing list
> TYPO3-german at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list