RE: Update: RE: Caching dynamic content

From: Robert Collins <robert.collins@dont-contact.us>
Date: Mon, 6 Nov 2000 12:18:12 +1100

Sorry guys. OOps

> -----Original Message-----
> From: Henrik Nordstrom [mailto:hno@hem.passagen.se]
> Sent: Monday, 6 November 2000 12:16 PM
> To: Robert Collins
> Cc: Jochen Dolze; squid-dev@squid-cache.org
> Subject: Re: Update: RE: Caching dynamic content
>
>
> The original poster are correct here. It is the same entity but with
> different Content-Encoding. (look again at the headers...)
>
> However, the reply is invalid in that it does not indicate that the
> reply was based on the Accept-Encoding header. HTTP/1.1 requires that
> servers make use of the Vary header when returing replies that differ
> depending on the characteristics of the request. See RFC 2068 section
> 12.1. Since this reply did not have a Vary header Squid correctly
> assumes the URL will always return only one format.
>
> If the reply have a Vary header then Squid will detect it and consider
> the reply uncachable since Squid lacks capabilities to support Vary.
>
> --
> Henrik Nordström
> Squid hacker
>
<snip>
Received on Sun Nov 05 2000 - 18:20:01 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:55 MST