]>
Commit | Line | Data |
---|---|---|
b32db2dc | 1 | # Compress module. |
1efd0147 | 2 | # |
bce8a1c7 | 3 | # Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModCompress |
1efd0147 | 4 | |
7d3968ad ER |
5 | server.modules += ( |
6 | "mod_compress" | |
7 | ) | |
693950e2 | 8 | |
44fbf79b ER |
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 | |
744d4bcf ER |
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" | |
44fbf79b ER |
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 | #) |