Kinkie wrote:
On Thu, Sep 17, 2009 at 7:11 PM, Matthew Morgan <atcs.matthew@xxxxxxxxx> 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