httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan McQuade <>
Subject mod_deflate and vary accept-encoding
Date Fri, 13 Aug 2010 18:25:06 GMT

In looking at the source for mod_deflate:

It appears to insert Vary Accept-Encoding header into every candidate
response by default, which is what you would expect.

But the instructions here:

suggest adding a line to manually add Vary Accept-Encoding to responses:
# Make sure proxies don't deliver the wrong content
Header append Vary User-Agent env=!dont-vary

Is this "Header append Vary User-Agent env=!dont-vary" necessary or
does mod_deflate now add the Vary Accept-Encoding header by default?


View raw message