]>
Commit | Line | Data |
---|---|---|
1 | # Deflate module. | |
2 | # | |
3 | # Documentation: https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModDeflate | |
4 | ||
5 | server.modules += ( | |
6 | "mod_deflate" | |
7 | ) | |
8 | ||
9 | # prefix matches all text/* Content-Type responses | |
10 | #deflate.mimetypes = ("text/") | |
11 | #deflate.mimetypes = ("text/html", "text/plain", "text/css", "text/javascript", "text/xml") | |
12 | #deflate.allowed-encodings = ( "brotli", "gzip", "deflate", "bzip2" ) | |
13 | ||
14 | ### optional | |
15 | #deflate.cache-dir = "/path/to/compress/cache" | |
16 | # measured in kilobytes, so 131072 indicates 128 MB | |
17 | #deflate.max-compress-size = 131072 | |
18 | # measured in bytes | |
19 | #deflate.min-compress-size = 256 | |
20 | #deflate.compression-level = 9 | |
21 | #deflate.output-buffer-size = 8192 | |
22 | #deflate.work-block-size = 2048 | |
23 | #deflate.max-loadavg = "3.50" |