[squid-users] refresh patterns for Caching Media

From: Jumping Mouse <kafriki_at_hotmail.com>
Date: Wed, 19 May 2010 18:35:44 +0200

Hello eveyone, 
We are using Squid 2.7 for caching educational media files.   We are only using the cache for users who need to access these files.   For other internet traffic the cache will be bypassed. 
The media files will not be changed for at least a year at which point I will run a script to pre-load the cache with the new media files. 

1. How can I set the refresh pattern to never refresh these media files?   The files are swf (flash) flv, and mp3, etc. 
This is what I currently have for media:

refresh_pattern -i \.(iso|avi|wav|mp3|mp4|mpeg|swf|flv|x-flv)$ 43200 90% 432000 override-expire override-lastmod reload-into-ims ignore-reload ignore-no-cache ignore-no-store ignore-private

2. If  I have already pre-loaded media files into the cache, will changes to the refresh patterns work retroactively on these files, or will I have to load them into the cache again?

Thanks. 

Kafriki
                                               
_________________________________________________________________
New Windows 7: Find the right PC for you. Learn more.
http://windows.microsoft.com/shop
Received on Wed May 19 2010 - 16:35:51 MDT

This archive was generated by hypermail 2.2.0 : Thu May 20 2010 - 12:00:06 MDT