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

Reply via email to