Re: [squid-users] - Deletion of contents/URL from Cache

From: Simon White <simon@dont-contact.us>
Date: Wed, 27 Feb 2002 09:48:22 +0000

On 27-Feb-02 at 14:46, Abid Latif Sheikh's inspired musing was thus :
> Thanks and so this means the whole cache is to de deleted out.
>
> Abid

If you create the acl and then do

$ <path-to-squid>/squid -k reconfigure

Then the cache won't be cleared, but you will no longer cache pages of me.edu.
If you want to get rid of what is there, you need to clear the cache, by
doing:

$ cd <path-to-cachedir>
$ rm -rf *
$ <path-to-squid>/squid -z
$ <path-to-squid>/squid

Simon.

> > Best way to do it is never to cache it, the only other way is to clear
> > the whole cache.
> >
> > e.g.
> >
> > acl Me_edu dstdomain me.edu
> > no_cache deny Me_edu

-- 
|-Simon White
|-Internet Services Manager
|-MTDS S.A.
|-tel +212.3.767.4861
|-fax +212.3.767.4863
|-14, rue 16 novembre
|-Rabat, Kingdom of Morocco
Received on Wed Feb 27 2002 - 02:48:24 MST

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