Re: [squid-users] I Want To Ping A Cache Object

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 02 Oct 2007 10:56:55 +0200

On mån, 2007-10-01 at 10:14 -0700, Solomon Asare wrote:
> Hi All,
> thanks for the responses. I guess what I need is
> something like:
>
> squidclient -m HEAD -H 'Max-Forwards = 0\n'
> http://www.google.com

Make that
squidclient -m HEAD -H 'Cache-Control: only-if-cached\n" http://www.google.com

or if you want it to return "true" on expired objects as well:
squidclient -m HEAD -H 'Cache-Control: only-if-cached,max-stale\n" http://www.google.com

Regards
Henrik

Received on Tue Oct 02 2007 - 02:57:03 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:00 MDT