Re: [squid-users] squid - loading, checking and purging

From: Chris Robertson <crobertson_at_gci.net>
Date: Wed, 15 Apr 2009 12:37:16 -0800

Sir June wrote:
>
> 1) $ squidclient -m HEAD -H "Cache-Control: only-if-cached\n" URL
>
> the above works fine. what are the other "Cache-control: " headers ?
>

Best to send you to the source:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

> 2) $ squidclient -m purge URL -> works fine
>
> 3) i used in a [ for loop ] and with export http_proxy=localhost:3128
>
> $ wget -olog --proxy=on $i
>
> $ curl -v -o /dev/null $i
>
> $ squidclient URL | head -14 |grep -i cache >> log
>
>
> thanks for all your help.
>
> sirjune

Chris
Received on Wed Apr 15 2009 - 20:37:23 MDT

This archive was generated by hypermail 2.2.0 : Thu Apr 16 2009 - 12:00:01 MDT