Feature #2678
closedNew mod_precompress feature
Description
The existing mod_compress is a nice feature.
However, it would be usefull to let lighttpd serve pre_compress data.
When serving some file (example /foobar.html), rather than compressing foobar.html file in some dedicated directory (compress.cache-dir ), lighttpd could check if (by chance), an existing file foobar.html.gz in the same folder as foobar.html and serve this file instead (with the right HTTP content-encoding header).
Pros:
- you won't have to clean the compress directory
- since data are precompressed, you save some CPU on first request
- you can use Zopfli (https://github.com/google/zopfli) compression algorithm (which gives better compression ratio).
Cons:
- You have to precompress the data
Depending on their need, people could choose to use either mod_compress, mod_defate or mod_precompress.
Any chance to have such feature ?
Thanks!
Files
Updated by gstrauss about 8 years ago
- Related to Feature #2736: Test $HTTP["language"] for preferred language? added
Updated by gstrauss about 8 years ago
- Category changed from 3rd party to mod_magnet
- Target version set to 1.4.46
Updated by gstrauss about 8 years ago
- File content-negotiation.lua content-negotiation.lua added
- Status changed from New to Fixed
Updated by gstrauss about 8 years ago
- Related to Feature #1259: mod_autoext - Apache-like support for automatically adding extensions added
Also available in: Atom