Project

General

Profile

Actions

Mod deflate » History » Revision 2

« Previous | Revision 2/43 (diff) | Next »
jakabosky, 2006-02-17 03:45


Module options: {{{
deflate.enabled = "enable"
deflate.compression-level = 9
deflate.mem-level = 9
deflate.window-size = 15
deflate.bzip2 = "enable"
deflate.sync-flush = "enable"
deflate.min-compress-size = 0
#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 a shared buffer will be used.

Updated by jakabosky about 18 years ago · 2 revisions