Re: [squid-users] Re: Force cache reload for object from browser

From: Amos Jeffries <squid3@dont-contact.us>
Date: Fri, 25 Apr 2008 16:46:06 +1200

Oliver Schoett wrote:
> Henrik Nordstrom wrote:
>
>> curl -H "Cache-Control: no-cache"
>>
>
> This is HTTP 1.1; to make this work with HTTP 1.0 also you should write
>
> curl -H "Cache-Control: no-cache" -H "Pragma: no-cache"
>
> The Pragma is the way to express this in HTTP 1.0; however, HTTP 1.0
> says only that caches should, not that they must obey this directive.

We know. However, most in-use squid are recent enough to accept and
follow the basic 1.1 Cache-Controls as if it was 1.1.

Squid only advertises HTTP/1.0 because a few very specific HTTP/1.1
required bits are missing. More than half the 1.1 operations are known
and handled now according to RFC2616.

Amos

-- 
Please use Squid 2.6.STABLE19 or 3.0.STABLE4
Received on Fri Apr 25 2008 - 04:45:33 MDT

This archive was generated by hypermail 2.2.0 : Thu May 01 2008 - 12:00:04 MDT