[TYPO3-core] RFC #14247: Add a compressor/concatenator for CSS and JS
Steffen Gebert
steffen at steffen-gebert.de
Sun May 2 01:25:26 CEST 2010
Am 29.04.2010, 00:13 Uhr, schrieb Steffen Gebert
<steffen at steffen-gebert.de>:
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=14247
>
> Solution:
> Merge the stylesheets together.
Thanks for committing!
Please set SVN properties for class.t3lib_compress.php
We have to mention this in NEWS.txt, Benni do you take care?
To enable compression of the Backend Stylesheets and JavaScript, you have
to set $TYPO3_CONF_VARS['BE']['compressionLevel'].
As this feature heavily decreases the download sizes, you want to enable
this!
Dependent on the server's configuration, you also have to add the
following lines to .htaccess:
AddEncoding gzip .gz
<FilesMatch "\.js\.gz$">
AddType "text/javascript" .gz
</FilesMatch>
<FilesMatch "\.css\.gz$">
AddType "text/css" .gz
</FilesMatch>
Thanks!
Steffen
More information about the TYPO3-team-core
mailing list