Sunday, July 8, 2012

Caching dailymotion.com using SQUID

How to cache Dailymotion video using SQUID 

 You have to follow  the same way of caching youtube and other  videos
and add this line 

acl videocache_allow_url url_regex -i proxy[a-z0-9\-][a-z0-9][a-z0-9][a-z0-9]?\.dailymotion\.com\/video\/[a-z0-9]\/[a-z0-9]\/

reload your squid server and have fun

#tailf /var/log/squid/access 


192.168.1.55 - - [08/Jul/2012:09:14:13 +0200] "GET http://proxy-53.dailymotion.com/video/029/480/47084920_mp4_h264_aac_hq.flv? HTTP/1.1" 200 2176756 TCP_HIT:NONE