SOURCES: apache-mod_deflate.conf - enabling DEFLATE for all conten...

blues blues at pld-linux.org
Tue Jan 9 14:56:08 CET 2007


Author: blues                        Date: Tue Jan  9 13:56:08 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- enabling DEFLATE for all content may cause some problems (304 response
  doesn't work on some browsers in that case). Use safe and working setting
  by default.

---- Files affected:
SOURCES:
   apache-mod_deflate.conf (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SOURCES/apache-mod_deflate.conf
diff -u SOURCES/apache-mod_deflate.conf:1.6 SOURCES/apache-mod_deflate.conf:1.7
--- SOURCES/apache-mod_deflate.conf:1.6	Wed Dec 21 14:27:28 2005
+++ SOURCES/apache-mod_deflate.conf	Tue Jan  9 14:56:02 2007
@@ -1,7 +1,11 @@
 # $Id$
 LoadModule deflate_module		modules/mod_deflate.so
 
-SetOutputFilter DEFLATE
+# Safe but working settings - compress only that types:
+AddOutputFilterByType DEFLATE text/html text/plain 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...
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/apache-mod_deflate.conf?r1=1.6&r2=1.7&f=u



More information about the pld-cvs-commit mailing list