Search squid archive

Re: Re: Force cache reload for object from browser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux