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 stbuehler almost 12 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.
Also available in: Atom