10
:Date: $Date: 2004/08/29 09:43:49 $
11
:Revision: $Revision: 1.1 $
14
a nice, short abstrace about the module
17
:keywords: lighttpd, compress
19
.. contents:: Table of Contents
24
Output compression reduces the network load and can improve the overall
25
throughput of the webserver.
27
Only static content is supported up to now.
29
The server negotiates automaticly which compression method is used.
30
Supported are gzip, deflate, bzip.
36
name of the directory where compressed content will be cached
40
compress.cache-dir = "/var/www/cache/"
42
# even better with virt-hosting
43
$HTTP["host"] == "docs.example.org" {
44
compress.cache-dir = "/var/www/cache/docs.example.org/"
47
Default: not set, compress the file for every request
50
mimetypes where might get compressed
54
compress.filetype = ("text/plain", "text/html")
59
Compressing Dynamic Content
60
===========================
62
To compress dynamic content with PHP please enable ::
64
zlib.output_compression = 1
66
in the php.ini as PHP provides compression support by itself.