# Compress module.
#
-# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCompress
+# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModCompress
server.modules += (
"mod_compress"
#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.