mod_compress will suppress mod_expire
If mod_compress is loaded before mod_expire then pages which are sent compressed will not have expires headers sent regardless of the expires configuration. By loading mod_expire first, pages can be sent both compressed and with expires headers.
I edited the documentation wiki to reflect this situation.
Updated by brainsik about 16 years ago
Sorry, I forgot to change the version to 1.4.13 (though I suspect it's present in 1.4.15 given the changelog for 1.4.13 -> 1.4.15).
Updated by brainsik over 15 years ago
Should have added this link long ago -- this bug may be related to this one: http://trac.lighttpd.net/trac/ticket/1171
Updated by stbuehler over 15 years ago
Some comments on mod_compress:
- Only compresses static files
- If you don't use compress.cache-dir, it behaves like other content-producing modules, i.e. mod_fastcgi. Other modules after it get ignored (handler return code HANDLER_FINISHED).
I attach a patch to generate etag/last-modified in this case too
- If you use compres.cache-dir, it redirects the physical path to the compressed file, so modules after it can work with that.
So this is a problem by design and won't get fixed - mod_compress could only do it itself.
Updated by stbuehler almost 15 years ago
- Status changed from New to Fixed
- Resolution set to invalid
Updated by stbuehler over 14 years ago
- Status changed from Fixed to Invalid
Also available in: Atom