RE: [squid-users] refresh patterns for Caching Media

2010-05-20 Thread Jumping Mouse



 From: kafr...@hotmail.com
 To: squid-users@squid-cache.org
 Date: Wed, 19 May 2010 18:35:44 +0200
 Subject: [squid-users] refresh patterns for Caching Media


 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



does anyone have any suggestions or recommendations that they can share with me 
on this?  
_
New Windows 7: Simplify what you do everyday. Find the right PC for you.
http://windows.microsoft.com/shop

[squid-users] refresh patterns for Caching Media

2010-05-19 Thread Jumping Mouse

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