mod_compress supresses Etag and Last-Modified headers
Using mod_compress, when a page is sent gzipped, the Last-Modified and Etag headers are suppressed. This has the unfortunate effect that these pages can not be cached by a browser -- the browser lacks the required data to send If-Modified-Since and/or If-None-Match header(s) back.
Basically, as it is, you have to pick between cacheability or compression.
To reproduce, turn on compression and then make an HTTP request for a compressed page including the HTTP header "Accept-Encoding: gzip,deflate".
Updated by brainsik almost 15 years ago
Also available in: Atom