[squid-users] Dropping the entire cache

From: Emiliano <emile@dont-contact.us>
Date: Mon, 6 Aug 2001 13:14:11 +0200 (CEST)

Hi all,

I am looking for a way to easily invalidate the entire cache. We are
running an application server with largely static content, using it for
templating and such, and the appserver is able to tell when the cache would
be invalid, although not precisely which parts of the cache, which is why I
would just invalidate all.

I'm aware of the topic being covered in the cache, but we'd rather not stop
and start squid from the web application, and using the purge tool to
invalidate all seems time consuming. Would it be possible to have squid
just 'forget' about swap.state (resetting/truncating it) when it receives a
signal? What would be the downside? Would it be possible to determine which
files would be orphaned by such a move so a slow background reaper could
trawl through and delete them?

Emile
Received on Mon Aug 06 2001 - 05:14:07 MDT

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