httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jesus Altuve" <>
Subject mod_cache, Vary Header and (gzip,deflate) vs (gzip, deflate)
Date Sat, 24 Nov 2007 22:12:39 GMT

I've noticed that Internet Explorer (6) Accept-Encoding request header is
sent with spaces
(e.g gzip, deflate), so, if a Vary: Accept-Encoding is present when caching
responses there will be a cache miss, even though the request should be
served from cache.

So, the workaround is to do an early processing for RequestHeader and modify
it removing spaces. My question is:

should mod_cache match Vary headers 'exactly' as they are or would it be
advisable to simply 'remove spaces' from it and then match so browser bugs
such as this won't cause cache misses?

View raw message