]> git.pld-linux.org Git - packages/apache.git/blobdiff - apache-mod_deflate.conf
- enhance mod_ldap description
[packages/apache.git] / apache-mod_deflate.conf
index e8bbc4a4ae8ce4b9d83de383629f2d960b4bfc4b..ea2c643137b0efedc3697e8f418d02803544aaae 100644 (file)
@@ -1,7 +1,17 @@
 # $Id$
 LoadModule deflate_module              modules/mod_deflate.so
 
-SetOutputFilter DEFLATE
+# Safe but working settings - compress only that types:
+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
 
 <IfModule mod_setenvif.c>
        # Netscape 4.x has some problems...
This page took 0.031472 seconds and 4 git commands to generate.