X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;f=lighttpd-mod_compress.conf;h=7bbd6f1f8c94ea96b6e281fc6269f1fcd988190f;hb=64fc15896d7ed6f715b62455318802d14aba549b;hp=eb2ee61705da2e340c1dd60cbe30ecf00eb227ef;hpb=44fbf79b0d0be8ef669f1bbd25db839aea6bccef;p=packages%2Flighttpd.git diff --git a/lighttpd-mod_compress.conf b/lighttpd-mod_compress.conf index eb2ee61..7bbd6f1 100644 --- a/lighttpd-mod_compress.conf +++ b/lighttpd-mod_compress.conf @@ -1,6 +1,6 @@ # 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" @@ -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.