[squid-users] How to make squid proxy server cache response with vary: * in header?

Amos Jeffries squid3 at treenet.co.nz
Fri Nov 14 15:22:33 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15/11/2014 3:41 a.m., Ulises Nicolini wrote:
> HI All!!!
> 
> I'm building a system based on squid 2.7 for cache all software
> updates.

Not possible. Squid-2.7 does not support enough HTTP/1.1 features to
cache all content properly. Upgrade to a current release of Squid.

> I have a problem when the origin server response with vary:* in
> header,

I'll bet. The * means that the URL represents multiple different
versions of the object being delivered, which one is in this response
depends on something outside the HTTP request used to fetch it. There
is no way your proxy can identify or replicate that variance decision.

Example; the chrome D/L server may be delivering .exe containing
built-in translations based on your personal account G' preferences.
 How would you like to find an automated upgrade made your browser
suddenly display only Klingon because the first person going to update
through this proxy was a Trekkie ?

Amos

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (MingW32)

iQEcBAEBAgAGBQJUZh44AAoJELJo5wb/XPRjiUoIALK58V1ktnrTBAs4XDwNmJs4
JTheP81PxmR5nvr85GE36aX5RvRVNy7SGaxhzGB3+oUhcPZkaJruTJHYKMy6K6jV
WvfDxGDTBmj6t+W8yyFD/CEj7WC/IuEVPBdscy4l47KvHfxk7q+VQ8LwWdZGy1O2
s03Qqzc2AM7mbcpGwZKQcQN3uNqq3rbJDa/seQ1tZnQ08RO9tHMHq4tR+/gF+pjU
Y4VgQ2eN5yZ3ERk38/JBDExzlnNMl9DDol8QyeSdLyxNfw8Rz9IEVLZzEPuSg/jK
+FB5OumaZe6A0uvyd3LQUFcteoiJqeEkGAXkAnc8zv27wmzZ2o9AIKpqiYgtwP0=
=dxhi
-----END PGP SIGNATURE-----


More information about the squid-users mailing list