FlaBot wrote:
Thanks a lot. For me it look like that *.html and
*.css are gziped ...but
*.php are not compressed. Can you chnge this ?
Please do NOT enabled this for PHP output per default! This will cause all
output to be buffered, which will break some tools that rely on "real time"
output, like my CheckUsage tool.
If you want compressed output from PHP, use
ini_set('zlib.output_compression','On'); see
http://www.php.net/manual/en/ref.zlib.php#ini.zlib.output-compression
Alternatively, you can compress output manually using
ob_start/ob_get_contents/ob_end_clean with gzcompress() and
header('Content-Encoding: gzip');
Regards,
Daniel
--
Homepage:
http://brightbyte.de