packages: lighttpd/lighttpd-mod_compress.conf - more comments
glen
glen at pld-linux.org
Fri Sep 18 12:04:43 CEST 2009
Author: glen Date: Fri Sep 18 10:04:43 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- more comments
---- Files affected:
packages/lighttpd:
lighttpd-mod_compress.conf (1.7 -> 1.8)
---- Diffs:
================================================================
Index: packages/lighttpd/lighttpd-mod_compress.conf
diff -u packages/lighttpd/lighttpd-mod_compress.conf:1.7 packages/lighttpd/lighttpd-mod_compress.conf:1.8
--- packages/lighttpd/lighttpd-mod_compress.conf:1.7 Fri Sep 18 11:05:10 2009
+++ packages/lighttpd/lighttpd-mod_compress.conf Fri Sep 18 12:04:38 2009
@@ -6,7 +6,19 @@
"mod_compress"
)
-#### compress module
+# Default: "bzip2", "gzip", "deflate"
+# Safe list is 'gzip, deflate'. bzip2 is problematic for some browsers (MSIE)
+#compress.allowed-encodings = ( "gzip", "deflate" )
+
+# Default: not set, compress the file for every request
+# NOTE: you should have different root for each virtualhost as the filenames are not hashed.
#compress.cache-dir = "/var/cache/lighttpd/mod_compress"
-#compress.filetype = ("text/plain", "text/html")
-#compress.allowed-encodings = ( "bzip2", "gzip", "deflate" )
+
+# Keep in mind that compressed JavaScript and CSS files are broken in some browsers.
+# Not setting any filetypes will result in no files being compressed.
+#compress.filetype = (
+# "application/x-javascript",
+# "text/css",
+# "text/html",
+# "text/xml",
+#)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/lighttpd/lighttpd-mod_compress.conf?r1=1.7&r2=1.8&f=u
More information about the pld-cvs-commit
mailing list