Re: [squid-users] checking if a page is in cache or not

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 24 Jan 2003 10:32:10 +0100

Yes, by sending a "Cache-Control: only-if-cached" header in the request.

The squidclient program does not have a simple option for doing this,
but you can add this as a custom header.

This is the correct list. Don't worry.

Regards
Henrik

Pedro Zorzenon Neto wrote:
>
> Hi folks,
>
> First, congratulations for the squid cache. It is great!
>
> I'd like to know if a page is in cache, but do not want to fetch it if
> it is not. I tried the man page of 'client' program but did not find
> anything.
>
> Is there any way of doing this? If not, any hints about where to start
> from (in the sources)?
>
> Sorry for any inconvenience if I posted to the wrong list.
>
> Thanks,
> Pedro
>
> --
> .''`. Pedro Zorzenon Neto <pzn@terra.com.br>
> : :' : Debian GNU/Linux | GNU/Hurd: <http://www.debian.org>
> `. `'` Debian BR: <http://debian-br.cipsga.org.br>
> `- Be Happy! Be FREE!
Received on Fri Jan 24 2003 - 02:39:53 MST

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