Alec Flett wrote:
> I noticed that the gzip middleware is not including a 'Vary: 
> Accept-Encoding' when gzipping it's replies. This causes problems when 
> the server is behind a cache, because the cache will happily serve up a 
> cached gzipped version of a resource to a client that doesn't support gzip.

One issue here is that Vary: Accept-Encoding will, I believe, keep IE 
from caching a resource *at all*.  Which isn't a very good compromise, 
really.

I'm not sure what a good resolution is, except to use a better cache 
that understands encodings.  I don't know what different caches do for 
that.  Content-Encoding is kind of wonky all around.

-- 
Ian Bicking : [EMAIL PROTECTED] : http://blog.ianbicking.org
             : Write code, do good : http://topp.openplans.org/careers

_______________________________________________
Paste-users mailing list
[email protected]
http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users

Reply via email to