First of all, you must stop Squid of course. You can use the command: % squid -k shutdown The fastest way to restart with an entirely clean cache is to over write the swap.state files for each cache_dir in your config 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 garbage there. For example: % echo "" > /cache1/swap.state Repeat that for every cache_dir, then restart Squid. Be sure to leave the swap.state file with the same owner and permissions that it had before! Another way, which takes longer, is to have squid recreate all the cache_dir directories. But first you must move the existing directories out of the way. For example, you can try this: % cd /cache1 % mkdir JUNK % mv ?? swap.state* JUNK % rm -rf JUNK & Repeat this for your other cache_dir's, then tell Squid to create new directories: % squid -z -----Original Message----- From: Alejandro [mailto:alejandritox@xxxxxxxxxxxxx] Sent: Tuesday, December 12, 2006 1:03 PM To: squid-users@xxxxxxxxxxxxxxx Subject: Clean the cache Dear all, I have Squid 2.6 over Linux and I want to clean the cache in a good manner...what is the best way to do it ??? Thanks !!! alejandro.-