Search squid archive

Re: Deny Caching of Video and Audio

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

 



But in the other hand there is a way to determine some of the domains which contains videos.
Specifically for google it's:
.googlevideo.com

For other sites I assume that regular statistics check of the access.log can help with finding what your users use the most and minimize the specific videos.

It's not an easy thing to do but sometimes needed.

Eliezer

On 04/08/2015 17:19, Amos Jeffries wrote:
On 5/08/2015 1:29 a.m., markme wrote:
Well we don't mind caching large objects such as anti-virus updates or other
updates. My manager specifically asked to not cache media such as video and
audio. So is there like a refresh pattern that I can use or an ACL to deny
caching of all video and audio?

Sadly no. It's not even possible to *identify* all audio and video. So
many known and known-weird ways it could be smuggled around.
  Flash (.flv) for example is not video or audio. Its a script (yay^HH
boo for binary blobs).

Best you can hope for is rep_mime_type ACL check for video and audio
mime types. You will also need the Squid-3.5 store_miss feature to use
it for non-caching when it matches ("cache deny ..." wont work on
responses).

Amos

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users


_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




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

  Powered by Linux