Sonora Communications, Inc.

  • Increase font size
  • Default font size
  • Decrease font size

How to Restart the Squid Proxy Server with a Clean Cache

E-mail Print PDF

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

Last Updated on Sunday, 06 July 2008 18:56  

Your external IP

You are connecting to this site from: 38.107.179.232

Secure Client Login

Email Address:

Password: