Ugh, that's annoying - I just looked around and it looks like this is likely
limited to IE6, but still that's pretty unpleasant.

The cache that's exhibiting this behavior is Squid, which is pretty popular
- or at least there are a lot of installs of it out there. The real problem
though is the intermediate caches out there that most people aren't aware
of, that you don't have control of...ISPs and such.

Yay, IE!

Alec

On 10/17/07, Ian Bicking <[EMAIL PROTECTED]> wrote:
>
> 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