> From: "Robert Koruna" <robert.koruna@tiwag.co.at>
> I have the need to reset my cache cause it died and now it shows me
> the wrong gifs on the wrong position. But I don't want to clean all
> my cache. Is there a possibility to delete only this one site ???
> Is it possible to delete all this site entries in the log file in the
> cache directory ???
> Are there scripts to delete one certain site.
First you have to activate the PURGE method in your cache. (see
http://squid.nlanr.net/Squid/FAQ/FAQ-7.html#ss7.5)
Then with a squid 1.1.x do something like:
grep -F http://the.site/ /path/to/cache/log | cut -c47- |
while read url
do client -m PURGE -h squid-host -p squid-port $url
done
Regards,
-- Bernd bziller@ba-stuttgart.de ------------------------------------------------- http://www.ba-stuttgart.de/~bziller/ Perry Rhodan - Blind Guardian - Morwen PagesReceived on Mon Mar 23 1998 - 22:46:00 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:39:26 MST