Tue, 04 Oct 2005

Purge a Squid cache

cd /var/spool/squid         [or other location of the cache]
mkdir JUNK
mv ?? swap.state* JUNK
rm -rf JUNK &

Then rebuild the cache directories with:  

    squid -z

Then restart squid.

Posted at: 00:00 | category: /commands | Comments ()