summaryrefslogtreecommitdiff
path: root/tests/lighttpd.conf
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2020-07-20 03:40:50 -0400
committerGlenn Strauss <gstrauss@gluelogic.com>2020-08-02 06:46:22 -0400
commit8dd33a72dd487b8fec0c544ab85d58c7528c0731 (patch)
treee4e7e69a8a5439e21c21e1a31f6e170432130c75 /tests/lighttpd.conf
parentbe6da785c5c38982e757f10e09e5503180b31a93 (diff)
downloadlighttpd-git-8dd33a72dd487b8fec0c544ab85d58c7528c0731.tar.gz
[mod_deflate] mod_deflate subsumes mod_compress
translate config server.modules "mod_compress" to "mod_deflate" accept compress.* directives, but issue DEPRECATED warning trace mod_deflate differences from mod_compress: - mod_compress compress.filetype was exact match; deflate.mimetypes is prefix match (behavior change might compress longer mimetype matches, which are likely of similar type and compressability) - mod_compress always sent entire (compressed) file for Range request mod_deflate will stream compress range result (not stored in cache) - mod_compress would short-circuit request with 403 Forbidden error if request file did not exist (stat() failed) (This behavior was unfriendly to other handlers) - mod_compress compress.cache-dir layout differs from deflate.cache-dir layout; file cache should be cleared (or renamed) when migrating from mod_compress to mod_deflate - mod_deflate does not issue Vary: Accept-Encoding if request does not contain Accept-Encoding. The identity response can be cache by proxies and served to clients. Historically, some proxies disabled caching if any Vary: response was seen. If the Vary header is desirable, mod_deflate code which checks for Accept-Encoding and compression type can be moved down a few lines to be below the setting of the Vary response header.
Diffstat (limited to 'tests/lighttpd.conf')
-rw-r--r--tests/lighttpd.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lighttpd.conf b/tests/lighttpd.conf
index 7ac8a121..31515899 100644
--- a/tests/lighttpd.conf
+++ b/tests/lighttpd.conf
@@ -170,5 +170,5 @@ $HTTP["host"] =~ "allow\.example\.org$" {
$HTTP["host"] == "etag.example.org" {
static-file.etags = "disable"
- compress.filetype = ()
+ deflate.filetype = ()
}