mod_compress supresses Etag and Last-Modified headers
|Missing in 1.5.x:|
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".
#3 Updated by brainsik about 7 years ago
Also available in: Atom