Under African Skies!

Under African Skies!
an inquisitive mind

clear squid cache

January 26th, 2006

and did i struggle with this…

only later did i realise that the cach was clean, it was my browser’s cache that isn’t cleared…

but here is a good way that worked for me to clear the cache and open up some disk space, for the time being.

I use

/etc/init.d/squid stop
cd /var/spool/squid (or where-ever you cache dir is)
mkdir JUNK
mv ?? swap.state* junk
/usr/sbin/squid -z
/etc/init.d/squid start
cd /var/spool/squid
rm -rf JUNK &

and that worked for me !

Comments are closed.