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

2009-04-15 Thread Sir June
i'm looking for command-line  options.. - Original Message From: Pieter De Wit pie...@insync.za.net To: Sir June sir_j...@yahoo.com Cc: squid-users@squid-cache.org Sent: Tuesday, April 14, 2009 9:48:50 PM Subject: Re: [squid-users] squid - loading, checking and purging Hi :) 1 - I

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

2009-04-15 Thread Amos Jeffries
Cc: squid-users@squid-cache.org Sent: Tuesday, April 14, 2009 9:48:50 PM Subject: Re: [squid-users] squid - loading, checking and purging Hi :) 1 - I *think* webmin has this feature - not sure how to do it directly with squid. 2 - As above 3 - export HTTP_PROXY=squid:port wget all the urls 3a

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

2009-04-15 Thread Chris Robertson
Amos Jeffries wrote: Sir June wrote: i'm looking for command-line options.. squidclient is your friend for atomic type object operations. Just be careful when pulling binary objects since it will dump the resulting page to stdout/screen. Performing a HEAD method request would alleviate

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

2009-04-15 Thread Sir June
-users] squid - loading, checking and purging Amos Jeffries wrote: Sir June wrote: i'm looking for command-line  options.. squidclient is your friend for atomic type object operations. Just be careful when pulling binary objects since it will dump the resulting page to stdout/screen

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

2009-04-15 Thread Chris Robertson
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-

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

2009-04-14 Thread Sir June
Hi, I just joined this mailing list and i'd like to get insights on how to do the following? 1)  how to check if an object or a URL  is in the squid cache?  2)  how to purge an object or a URL from the squid cache? 3)  if i have a long list (1000 items)  of objects/url that i want to load

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

2009-04-14 Thread Pieter De Wit
Hi :) 1 - I *think* webmin has this feature - not sure how to do it directly with squid. 2 - As above 3 - export HTTP_PROXY=squid:port wget all the urls 3a - It wont be 100% sure if the object will be stored as squid will work it out (using policies etc) Just a bit of help :) Cheers,