Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Paul on February 06, 2002, 06:35:01 PM

Title: Clearing the Web cache periodically
Post by: Paul on February 06, 2002, 06:35:01 PM
Hi.
Is their a quick method of clearing the Squid cache (Which i think is the web cache)  and  is it necessary anyway,  or is thier an automatic clearing process

regards
Title: Re: Clearing the Web cache periodically
Post by: Luke Drumm on February 07, 2002, 06:03:43 AM
Squid does it own purging of data as required. Unless there's something out of the ordinary happening, Squid shouldn't require any ongoing maintenance.

Regards,
Luke
Title: Re: Clearing the Web cache periodically
Post by: Jean-Philippe on February 08, 2002, 12:27:16 PM
squid -k shutdown
echo "" > /var/spool/squid/swap.state
cd /var/spool/squid
mkdir JUNK
mv ?? swap.state* JUNK
rm -rf JUNK &
squid -z
Title: Re: Clearing the Web cache periodically
Post by: Jim Goode on October 27, 2002, 04:30:17 AM
On a slightly different topic.

I do not need to run a proxy server, and I do not see the need to cache any web pages. How can I disable both of these functions? A pointer to where this is found in the documentation would also be helpful.

Thanks, in advance, for any assistance.