Stop the Squid proxy using this command:
squid -k shutdown
The fastest way to restart with an entirely clean cache is to over-write the swap.state file.
Note, you can not just remove the swap.state file, or truncate it to zero size. Instead, you should put just one byte of data there. For example:
echo "" > /var/spool/squid/swap.state
Restart squid:
squid
| < Prev | Next > |
|---|





