X-Git-Url: https://git.tld-linux.org/?p=packages%2Flighttpd.git;a=blobdiff_plain;f=mod_deflate.conf;h=f9523318da0e9367dcd02741b9347695160083b8;hp=ff5a0c0da0029023742d87d9d9fce0c7b71ac2a4;hb=HEAD;hpb=8239b3691d1ae536833b6d53a2efd289956ccbcd diff --git a/mod_deflate.conf b/mod_deflate.conf index ff5a0c0..93b6562 100644 --- a/mod_deflate.conf +++ b/mod_deflate.conf @@ -1,7 +1,23 @@ # Deflate module. # -# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModDeflate +# Documentation: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModDeflate server.modules += ( "mod_deflate" ) + +# prefix matches all text/* Content-Type responses +#deflate.mimetypes = ("text/") +#deflate.mimetypes = ("text/html", "text/plain", "text/css", "text/javascript", "text/xml") +#deflate.allowed-encodings = ( "brotli", "gzip", "deflate", "bzip2" ) + +### optional +deflate.cache-dir = "/var/cache/lighttpd/mod_deflate" +# measured in kilobytes, so 131072 indicates 128 MB +#deflate.max-compress-size = 131072 +# measured in bytes +#deflate.min-compress-size = 256 +#deflate.compression-level = 9 +#deflate.output-buffer-size = 8192 +#deflate.work-block-size = 2048 +#deflate.max-loadavg = "3.50"