]> git.pld-linux.org Git - packages/lighttpd.git/blobdiff - lighttpd-mod_compress.conf
sample more debug variables
[packages/lighttpd.git] / lighttpd-mod_compress.conf
index faf1959508d7610f28d5db1f563cc6a82b2172c4..35d834cbca5b53fba7bb00b860c0ce6ffa9d6437 100644 (file)
@@ -1,11 +1,25 @@
 # Compress module.
 #
-# Documentation: http://trac.lighttpd.net/trac/wiki/Docs:ModCompress
+# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCompress
 
 server.modules += (
        "mod_compress"
 )
 
-#### compress module
-#compress.cache-dir = "/var/cache/lighttpd/mod_compress"
-#compress.filetype = ("text/plain", "text/html")
+# 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
+# Filenames saved to this dir have ETag appended, so theoretically you can use
+# common dir across domains for this.
+compress.cache-dir = "/var/cache/lighttpd/mod_compress"
+
+# 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",
+#)
This page took 0.04464 seconds and 4 git commands to generate.