HowTo Clean and Re-build Squid cache

Submitted by alvaro.soto on Wed, 12/21/2011 - 01:35

First, Check you squid.conf file and locate the location of you cache directory, you should have line starting with "cache_dir"

1) Shutdown your squid server
squid -k shutdown

2) Remove the cache directory
rm -r /squid/cache/*

3) Re-Create the squid cache directory
squid -z

4) Start the squid