How to clear cache in squid proxy on SUSE 10

Dear all,

We found that some of the wesite is not updated. So we wanna clear the cache of our Squid Proxy. Is there anyone know how to clear the cache of squid proxy in SUSE 10 environment? Thanks a lot.

Shutdown squid, then delete everything in the cache directory, normally /var/cache/squid. This may take a few minutes due to the huge number of files under it. Then restart squid and it should recreate the cache directories. Shutdown and restart should be done using /etc/init.d/squid.

just type:
#squid -z

You want to be careful with the account when you run squid -z. If you run it as root, you may mess up the ownerships of the cache files so that when squid is started normally under the squid account, it cannot read the cache files.