]>
Commit | Line | Data |
---|---|---|
1 | # Compress module. | |
2 | # | |
3 | # Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCompress | |
4 | ||
5 | server.modules += ( | |
6 | "mod_compress" | |
7 | ) | |
8 | ||
9 | # Default: "bzip2", "gzip", "deflate" | |
10 | # Safe list is 'gzip, deflate'. bzip2 is problematic for some browsers (MSIE) | |
11 | #compress.allowed-encodings = ( "gzip", "deflate" ) | |
12 | ||
13 | # Default: not set, compress the file for every request | |
14 | # Filenames saved to this dir have ETag appended, so theoretically you can use | |
15 | # common dir across domains for this. | |
16 | compress.cache-dir = "/var/cache/lighttpd/mod_compress" | |
17 | ||
18 | # Keep in mind that compressed JavaScript and CSS files are broken in some browsers. | |
19 | # Not setting any filetypes will result in no files being compressed. | |
20 | #compress.filetype = ( | |
21 | # "application/x-javascript", | |
22 | # "text/css", | |
23 | # "text/html", | |
24 | # "text/xml", | |
25 | #) |