Re: [squid-users] Vary header caching problems

From: Duane Wessels <wessels@dont-contact.us>
Date: Mon, 17 Sep 2001 16:54:02 -0600 (MDT)

On Mon, 17 Sep 2001, 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.

Squid only uses URLs to index cached objects. It doesn't use
HTTP headers. Thus, Squid doesn't cache objects where the
response varies on HTTP headers.

Duane W.
Received on Mon Sep 17 2001 - 16:54:03 MDT

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