]> git.pld-linux.org Git - packages/lighttpd.git/commitdiff
- etag is used for cache files. enable by default
authorElan Ruusamäe <glen@pld-linux.org>
Fri, 18 Sep 2009 10:08:49 +0000 (10:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    lighttpd-mod_compress.conf -> 1.9

lighttpd-mod_compress.conf

index eb2ee61705da2e340c1dd60cbe30ecf00eb227ef..35d834cbca5b53fba7bb00b860c0ce6ffa9d6437 100644 (file)
@@ -11,8 +11,9 @@ server.modules += (
 #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"
+# 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.
This page took 0.031385 seconds and 4 git commands to generate.