]> git.pld-linux.org Git - packages/lighttpd.git/blame_incremental - lighttpd-mod_compress.conf
- load mod_magnet after other path-altering modules (like mod_secdownload), so
[packages/lighttpd.git] / lighttpd-mod_compress.conf
... / ...
CommitLineData
1# Compress module.
2#
3# Documentation: http://redmine.lighttpd.net/projects/lighttpd/wiki/Docs:ModCompress
4
5server.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.
16compress.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#)
This page took 0.037192 seconds and 4 git commands to generate.