]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- more comments
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 18 Sep 2009 10:04:38 +0000 (10:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd-mod_compress.conf -> 1.8

lighttpd-mod_compress.conf

index 6440eb2c08ea8fb0f2619bb97e657a5cda67677e..eb2ee61705da2e340c1dd60cbe30ecf00eb227ef 100644 (file)
@@ -6,7 +6,19 @@ server.modules += (
        "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",
+#)
This page took 0.049542 seconds and 4 git commands to generate.