[Mod_gzip] "mod_gzip_send_vary=Yes" disables caching on IE? (1.3.26.1a)

Robert Collins mod_gzip@lists.over.net
10 Dec 2002 20:31:04 +1100


--=-nEhrjiZ9MA/3CQ+B1viY
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Tue, 2002-12-10 at 16:33, Slava Bizyayev wrote:


> Rob is talking about HTTP headers in terms of proxy rules, They are not
> implied to be the same for the end user's browser, which is associated wi=
th
> one PC and one user only.

Actually, except where I specifically qualified my statements,
everything I have said applies equally to private caches (IE on it's
own) and shared caches (squid).=20

> In my understanding the caching mechanism of the
> normal browser should not depend on Vary at all. In fact, it works a
> different way sometimes (at least for M$IE-6.0 which I tested). Fortunate=
ly,
> we have a way around in form of "Vary: User-Agent,*". It works fine for m=
e
> (I mean Apache::Dynagzip).

Every User-Agent SHOULD understand Vary, because of:
Accept-Language
User-Agent
Accent-Encoding

headers, which the user agent may change from time to time as the user
changes their preferences (i.e. by adding 'Spanish' to the list of
languages they want to see pages in). Server negotiated content will
Vary according to those headers, and so the user agent should obey Vary,
and do so with at least minimal attempts at caching (ie IMS requests
rather than unconditionals).

Cheers,
Rob


--=-nEhrjiZ9MA/3CQ+B1viY
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQA99bRYI5+kQ8LJcoIRArVbAKC6fFQ2v3anh1rpW+mq8xLzcz8uhACgnlTF
x8ycMs4gRNH4beOPB+N710s=
=2ukv
-----END PGP SIGNATURE-----

--=-nEhrjiZ9MA/3CQ+B1viY--