[squid-users] refresh_pattern and same objects

FredB fredbmail at free.fr
Tue Sep 1 07:55:48 UTC 2015


> The cases I have personally seen that you might run into serious
> trouble
> with are .tiff files, TFF is a "high quality" format. At least its
> very
> high in detail, and I've seen it used with only no-store protection
> to
> send medical, mapping and hi-res photographic data around by software
> where it is supposed to be one-use transmission. Caching that would
> be
> both legally risky, and sometimes just waste space (app dependent).
>  And with the .wm* formats, which are pretty much awash with DRM
> encryption, maybe others in that set too. By caching them all you
> would
> do is prevent users from being able to view the media.


Ok removed


> 
> Trying to avoid override-no-store as long as possible, and target it
> to
> problem sites when it is used.
> 
> And after placing this at the end of the patterns:
> 
>   (\?.*)?$
> 
> 


Something like this ?

refresh_pattern -i \.(htm|html|xml|css)(\?.*)?$ 43200 1000% 43200 -> This is my previous rule "http" 
refresh_pattern -i \.(3gp|7z|ace|asx|bin|deb|divx|dvr-ms|ram|rpm|exe|inc|cab|qt)(\?.*)?$        43200 1000% 43200 ignore-no-store reload-into-ims store-stale
refresh_pattern -i \.(rar|jar|gz|tgz|bz2|iso|m1v|m2(v|p)|mo(d|v)|arj|lha|lzh|zip|tar)(\?.*)?$   43200 1000% 43200 ignore-no-store reload-into-ims store-stale
refresh_pattern -i \.(jp(e?g|e|2)|gif|pn[pg]|bm?|ico|swf|dat|ad|txt|dll)(\?.*)?$        43200 1000% 43200 ignore-no-store reload-into-ims store-stale
refresh_pattern -i \.(avi|ac4|mp(e?g|a|e|1|2|3|4)|mk(a|v)|ms(i|u|p)|og(x|v|a|g)|rm|r(a|p)m|snd|vob)(\?.*)?$     43200 1000% 43200 ignore-no-store reload-into-ims store-stale
refresh_pattern -i \.(pp(t?x)|s|t)|pdf|rtf|wax|wm(a|v)|wmx|wpl|cb(r|z|t)|xl(s?x)|do(c?x)|flv|x-flv)(\?.*)?$     43200 1000% 43200 ignore-no-store reload-into-ims store-stale

Fred


More information about the squid-users mailing list