On Thu, 2 Sep 2004, Thomas Haferlach wrote:

Yes I stumbled upon that also but I seem to have problems trying to get it
to work.

GET http://somewhere.com/something.html HTTP/1.1
Host: somewhere.com
Cache-Control: only-if-cached

this is my request but it always returns the page I am requesting as if I
hadn't inserted the Cache-Control header.

Works here.

What does the X-Cache headers indicate?

And what version of Squid is this? The support for only-if-cached in Squid is only 6 years old, available since Squid-2.0.

Regards
Henrik

Reply via email to