Re: [squid-users] Refresh Cache

2003-07-18 Thread Adam
Richard wrote:
> Is there a way to configure squid to empty it's cache every X amount of
days?

Kind of defeats the purpose.  Why not just disable caching with the no_cache
directive as explained in the FAQ:
http://www.squid-cache.org/Doc/FAQ/FAQ-4.html#ss4.20

Otherwise, if you really wanted to clear it every X days create a script
that follows the instructions in the FAQ entry titled "I want to start Squid
with a clean cache" ( http://www.squid-cache.org/Doc/FAQ/FAQ-7.html#ss7.3)
and then put your script in a cron job.

hth

adam



Re: [squid-users] Refresh Cache

2003-07-18 Thread Schelstraete Bart
Richard Sumilang wrote:

Is there a way to configure squid to empty it's cache every X amount 
of days?


Hello Richard,

I don't think you want to clear the complete squid cache after XX days, 
why should you do that?
If you want to refresh pages after an amount of time, you can use the 
'refresh_pattern' option in the squid.Conf file.

rgrds,

  Bart
--
Pls sign the following guestbook:   http://www.cable-dance.be   and ask 
to re-activate cable-dance!
Pls send the message to everyone ASAP.
Tnx, Bart




[squid-users] Refresh Cache

2003-07-18 Thread Richard Sumilang
Is there a way to configure squid to empty it's cache every X amount of 
days?