You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
841 B
Plaintext
32 lines
841 B
Plaintext
![]()
13 years ago
|
#######################################################################
|
||
|
##
|
||
|
## Output Compression
|
||
|
## --------------------
|
||
|
##
|
||
3 years ago
|
## See https://redmine.lighttpd.net/projects/lighttpd/wiki/docs_moddeflate
|
||
![]()
13 years ago
|
##
|
||
3 years ago
|
server.modules += ( "mod_deflate" )
|
||
![]()
13 years ago
|
|
||
|
##
|
||
|
## where should the compressed files be cached?
|
||
|
## see the base config for the declaration of the variable.
|
||
|
##
|
||
|
## This directory should be changed per vhost otherwise you can
|
||
|
## run into trouble with overlapping filenames
|
||
|
##
|
||
3 years ago
|
deflate.cache-dir = cache_dir + "/compress"
|
||
![]()
13 years ago
|
|
||
|
##
|
||
|
## FileTypes to compress.
|
||
|
##
|
||
3 years ago
|
deflate.filetype = ("text/plain", "text/html")
|
||
![]()
13 years ago
|
|
||
|
##
|
||
3 years ago
|
## Maximum response size that will be compressed.
|
||
|
## Default is 0, which uses internal default of 128 MB as limit.
|
||
![]()
13 years ago
|
##
|
||
3 years ago
|
#deflate.max-compress-size = 0
|
||
![]()
13 years ago
|
|
||
|
##
|
||
|
#######################################################################
|