[squid-users] Re: Vary header caching problems

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Tue, 18 Sep 2001 01:13:42 +0200

Rick Byers wrote:
>
> Hi,
> I'm having a problem with documents with Vary headers not being cached
> properly (at all it seems!). I'm probably missing something, but it looks
> like a bug to me. I'm using code from the Sept 12th squid-head snapshot.
>
> The client sends a request with a custom header, say, "X-MyHeader: 1", and
> the server generates a response with "Vary: X-MyHeader". Upon subsequent
> idential requests, squid still passes the request onto its parent cache
> (not squid - my own application actually) which re-requests the data from
> the origin server.

Vary support is in the Squid-HEAD so it should work, BUT be warned that
many HTTP servers set objects to expire immediately when generating a
Vary header.

What does the reply headers look like on the Vary:ing object?

--
Henrik Nordstrom
Squid Hacker
Received on Mon Sep 17 2001 - 17:31:22 MDT

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