Re: [squid-users] querying the cache to see if it stores a specific object

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 3 Sep 2004 01:22:09 +0200 (CEST)

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
Received on Thu Sep 02 2004 - 17:22:12 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Oct 01 2004 - 12:00:01 MDT