X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=apache-mod_deflate.conf;h=275585fb006204a763646b57a28b8825b30502e9;hb=9f2f5880848de70041300f0c7216e8eb9603e4fd;hp=e8bbc4a4ae8ce4b9d83de383629f2d960b4bfc4b;hpb=408714fc6815ffebeb69ee74512be3a0664358a5;p=packages%2Fapache.git diff --git a/apache-mod_deflate.conf b/apache-mod_deflate.conf index e8bbc4a..275585f 100644 --- a/apache-mod_deflate.conf +++ b/apache-mod_deflate.conf @@ -1,7 +1,18 @@ # $Id$ LoadModule deflate_module modules/mod_deflate.so -SetOutputFilter DEFLATE +# Safe but working settings - compress only that types: +AddOutputFilterByType DEFLATE application/javascript application/x-javascript +AddOutputFilterByType DEFLATE application/x-httpd-php +AddOutputFilterByType DEFLATE application/xhtml+xml +AddOutputFilterByType DEFLATE image/svg+xml +AddOutputFilterByType DEFLATE text/css +AddOutputFilterByType DEFLATE text/html +AddOutputFilterByType DEFLATE text/plain +AddOutputFilterByType DEFLATE text/xml + +# Compress all and exclude only few things - may cause some problems: +#SetOutputFilter DEFLATE # Netscape 4.x has some problems...