[TYPO3-core] RFC #14247: Add a compressor/concatenator for CSS and JS
Steffen Gebert
steffen at steffen-gebert.de
Sat May 1 20:16:09 CEST 2010
Am 01.05.2010, 20:09 Uhr, schrieb Steffen Gebert
<steffen at steffen-gebert.de>:
> attached v8
changes:
* gz only generated & used, if zlib available
* gz only generated & used, if $TYPO3_CONF_VARS['BE']['compressionLevel']
set
Currently I'm undecied, which additions to .htaccess are needed
if it doesn't work for you, please try
AddEncoding gzip .gz
<FilesMatch "\.js\.gz$">
AddType "text/javascript" .gz
</FilesMatch>
<FilesMatch "\.css\.gz$">
AddType "text/css" .gz
</FilesMatch>
Steffen
P.S: If your BE doesn't work after setting compressionLevel, please wait a
few moments. Steffen will comitt a follow-up for #8305 which fixes this
More information about the TYPO3-team-core
mailing list