Search squid archive

refresh patterns for Caching Media

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux