[squid-users] "Vary" or "X-Accelerator-Vary"?

From: Gregory Popovitch <greg@dont-contact.us>
Date: Wed, 30 Jan 2002 14:16:57 -0500

Hello,

I'm using Squid 2.5.pre3 to accelerate a Zope web server. Within the web
server, I would like to return gzipped pages (or not) depending on the
Accept-Encoding header.

Of course, for this to work, I would set the "Vary: Accept-Encoding"
header in my response.

My questions are:

- will this work with Squid 2.5.pre3 (I see in the code that there is
  some support for the Vary header.

- I also see a X-Accelerator-Vary header checked in the code. Should
  I use this one instead? Or set both? What is the purpose of this
  header?

I'll be grateful for any help. I'm new to Squid and a bit perplexed!

Gregory (greg@gpy.com)
Received on Wed Jan 30 2002 - 12:16:49 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:06:00 MST