Note :
source : http://aacable.wordpress.com/2012/08/13/youtube-caching-with-squid-nginx/
I change some command, according with my network environment, and my experience.
( Update January 2th, 2014). Look at another posting, cache youtube video with storeurl method. http://myconfigure.blogspot.com/2014/01/caching-youtube-with-storeurlpl-method.html
I assume you've installed :
1. Ubuntu 12.10,
2. Squid 3.3.2
3. Mikrotik, options to make it better
All of the above is installed and running nomally.If you have not installed some of the things mentioned above. Stop reading this section, and look for the section on this blog, about how to install squid. For example, you can read the
"Transparent Proxy with Squid 3.3.2 on Ubuntu 12.10 + Shorewall + Mikrotik".
1. Ubuntu 12.10,
2. Squid 3.3.2
3. Mikrotik, options to make it better
All of the above is installed and running nomally.If you have not installed some of the things mentioned above. Stop reading this section, and look for the section on this blog, about how to install squid. For example, you can read the
"Transparent Proxy with Squid 3.3.2 on Ubuntu 12.10 + Shorewall + Mikrotik".
Ok. Let's begin.
1. Add some command line at squid.conf
Add