Re: [squid-users] keep cached objects permanently

From: Matthew Morgan <atcs.matthew_at_gmail.com>
Date: Thu, 17 Sep 2009 16:26:42 -0400

Kinkie wrote:
> On Thu, Sep 17, 2009 at 7:11 PM, Matthew Morgan <atcs.matthew_at_gmail.com> wrote:
>
>> Is there a way to configure squid so that objects from a certain domain are
>> cached permanently? I am trying to get a windows update caching server up,
>> and I want to make sure the LRU manager doesn't delete any of the cached
>> updates. Other cached data can be deleted as needed.
>>
>
> Check refresh_pattern, just make sure you know what you're doing :)
>
I see stuff in refresh_pattern that keeps squid from reloading it's
copy, but does this stop the LRU cleanup routine from deleting it from
the cache? Currently I'm using the following lines (copied from an
online tutorial). Will they do the job? It seems like some of the
updates get cached, then deleted from the cache a few days later.

refresh_pattern windowsupdate.com/.*\.(cab|exe|dll|msi) 10080 100% 43200
reload-into-ims
refresh_pattern download.microsoft.com/.*\.(cab|exe|dll|msi) 10080 100%
43200 reload-into-ims
refresh_pattern www.microsoft.com/.*\.(cab|exe|dll|msi) 10080 100% 43200
reload-into-ims
refresh_pattern au.download.windowsupdate.com/.*\.(cab|exe|dll|msi) 4320
100% 43200 reload-into-ims
>
>
Received on Thu Sep 17 2009 - 20:26:50 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 18 2009 - 12:00:03 MDT