Squid is an open source web proxy cache designed to run on Unix machines. Squid caches repeated requests thus increasing performance. But in some situations you will want to start Squid with an entirely clean cache. This tip will show you how.
First of all stop Squid and then…
echo ” ” > /path/to/squid/caches/swap.state
Now restart Squid and your done!
Note that you should repeat the above for every directory defined in the cache_dir option within squid.conf.