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 fine3) 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 >> logthanks for all your help.sirjune
Chris