Turn off compression for 304
in case of an IMS (If modified since) request and an answer with "304 Not modified", lighttpd sends the Vary/Content-Encoding for gzipped content (if browser supports), altough it doesn't make sense, as there is no content (shouldn't the min-file-size limit for compression hit here., because content length = 0)?
Updated by stbuehler over 12 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
- Patch available set to No
If i understand the spec correctly it should be ok to send the "Vary" header, content-encoding is already removed. (And no, content-length is not zero; it is just not sent).
Also available in: Atom