Hi
> I am using Squid2.1-PATCH2. I noticed although Storage LRU Expiration Age
> is set to 180 days still cached objects were removed from the cache by
> squid. How do I cache the objects longer (min 150 days) even if they have
> not been accessed.
Yikes! 150 days is rather a long time! Aren't your users giving you
hassles about getting last year's news?
Anyway:
Your objects are almost certainly being expired because of your
refresh patterns, not because of this value.
If you REALLY, REALLY want to make sure that your objects are cached
for this long, you can do something like this (at least in 2.2*)
refresh_pattern . 216000 100% 216000 override-expire override-lastmod reload-into-ims ignore-reload
216000 is 60*24*150, the values in refresh_pattern are in seconds. All
the options do various things that stop your cache being friendly to
people hitting reload.
PLEASE take heed of the warnings next to all of the options in the
squid.conf. I would only do the above if I was using a modem (which I
am, and I still haven't done it ;)
Oskar
Received on Thu Mar 18 1999 - 13:13:07 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:45:20 MST