Koozali.org: home of the SME Server

Clearing the Web cache periodically

Paul

Clearing the Web cache periodically
« 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

Luke Drumm

Re: Clearing the Web cache periodically
« Reply #1 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

Jean-Philippe

Re: Clearing the Web cache periodically
« Reply #2 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

Jim Goode

Re: Clearing the Web cache periodically
« Reply #3 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.