Re: PURGE from cache using wildcards

From: Jens-S. Voeckler <voeckler@dont-contact.us>
Date: Fri, 18 Jun 1999 13:34:53 +0200

On Fri, 18 Jun 1999, Dave Logan wrote:

]anybody know of a way to purge more than one object from the cache using one
]PURGE iteration. an example such as:
] /squid_home/squid/bin/client -m PURGE /somedir/*

        http://statistics.www-cache.dfn.de/Projects/purge/

I am currently working on a new release which takes the squid meta data
into account... Bug reports to me.

        your_cache $ ~/purge -P 1 -e /somedir/*
        (-P 1 to really purge, and not just list)
        (-e ... some regular expression, can be used multiple times)

purge needs to be run on the cache itself though (needs fs access), so
don't do this during busy hours. To remove objects, -P 1 employs the PURGE
interface provided via HTTP by Squid.

Ciao,
Dipl.-Ing. Jens-S. Vöckler (voeckler@rvs.uni-hannover.de)
Institute for Computer Networks and Distributed Systems
University of Hanover, Germany; +49 511 762 4726
Received on Fri Jun 18 1999 - 05:48:16 MDT

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