Project

General

Profile

Mod deflate » History » Revision 6

Revision 5 (Anonymous, 2006-08-04 18:46) → Revision 6/43 (Anonymous, 2006-08-04 18:53)

== mod_deflate == 

 mod_deflate is a modified version of 
 mod_compress.    mod_deflate can compress any output from lighttpd static or 
 dynamic.    It doesn't support caching compressed output like mod_compress. 


 Module options: 
 {{{ 
 deflate.enabled = "enable" 
 deflate.compression-level = 9 
 deflate.mem-level = 9 
 deflate.window-size = 15 
 deflate.bzip2 = "enable" 
 deflate.min-compress-size = 200 
 #deflate.sync-flush = "enable" 
 #deflate.output-buffer-size = 8192 
 deflate.work-block-size = 512 
 deflate.mimetypes = ("text/html", "text/plain") 
 #deflate.debug = "enable" 
 }}} 

 The sync-flush option allows dynamic scripts to flush output to the browser 
 and still use compression. 
 work-block-size is the number of kilobytes to compress at one time, it allows 
 the webserver to do other work (network I/O) in between compression. 
 min-compress-size is the smallest response size that will be compressed. 

 output-buffer-size is a per connection buffer for compressed output, it can 
 help decrease the response size(fewer chunks to encode).    If it is set to 
 zero or if sync-flush is enabled a shared buffer will be used. 


 === See Also === 
 [wiki:Release-1.4.10-patches Background Information of mod_deflate]