RE: [squid-users] Removing cached files

From: Alexander Celle T. <acelle@dont-contact.us>
Date: Wed, 25 Apr 2001 19:10:20 -0400

THAT is the script I need. Does anyone know where I can find it?

-----Original Message-----
From: hno@hem.passagen.se [mailto:hno@hem.passagen.se]
Sent: Wednesday, April 25, 2001 6:38 PM
To: Alexander Celle T.
Cc: squid-users@squid-cache.org
Subject: Re: [squid-users] Removing cached files

Problem is that Squid does not actually know the URL of the files it has
until the file is requested..

The full URL is only stored on disk. There exists a script somewhere
that is capable of searching the on-disk cache and issuing PURGE
requests for objects matching a given pattern. But I don't remember
where this script is.

--
Henrik Nordstrom
Squid Hacker
Alexander Celle T. wrote:
>
> Hi, I know I can remove an individual file from Squid's cache by using the
> client program with the purge method.  I would like, however, to be able
to
> remove a complete directory (i.e. something like client -m PURGE
> http:mysite.com/*)
>
> I canīt figure out how to generate a list of the files that would fall
under
> the * without parsing the access.log.
>
> How can it be done?
>
> thanks
>
> Alexander
Received on Wed Apr 25 2001 - 17:07:58 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:59:36 MST