Caching YouTube Content with Squid

Here you can find ways to cache youtube videos with squid
http://wiki.squid-cache.org/ConfigExamples/DynamicContent/YouTube

and why would caching youtube be useful?

If banwidth is very expensive than it is very usefull to cache youtube videos or any other flash videos, so if one of my users downloads video flash file why again the same user or other users when download the same file go to internet when they can download from the cache. This is the reason why I insist to have things like that and I am implementing Ubuntu with Squid on it and it works great.

the chances, that another user will watch the same video, is really slim. if I search for something very specific on youtube, i get more than a 100 videos. what is the chance that another user will search for the same thing, and will click on the same result? youtube hosts more than 10 million videos. that is too much to cache anyway

I have tested this things e.g. if I watch “Bon Jovi -Always” and close it, after let’s say a week if I again or any of my users in my network watch the same video they will get it by the speed of my LAN, and they will not use my internet connection.

how did you manage to force them to choose the same video, because:

“bon jovi always” video results 1 - 20 of about 78,900

they want it just for conscience’ sake =)

I know, but it is not very useful anyways. Also - RouterOS is not Squid, and you shouldn’t expect all the same features in it. RouterOS cache is more simple, and RouterOS is not a dedicated cache server. It has this ability “for convenience sake”

OK never mind thanks for your help&advice.

internet links and proxies are used by many of members of our wireless community.
very often there’s some interesting (youtube) link spread around and caching becomes very usefull.
especialy considering low prices of hard drives which let us make >100GB proxies.

This is the type of reply you get when someone has never attempted something. They don’t have any useful insight or any experiencing attempting it.

Yes, it is useful. The likelyhood of people viewing the same videos is surprisingly high. People send people links in emails. People watch popular news (the recent plane crash into the hudson).

Although, I think it has nothing to do with Mikrotik, I still don’t think the original answer had merit as they have obviously never tested it or used it.

but, as it was said, even same videos people view from different servers - for balancing of load

If you like to implement videocache with squid, you ca use this link:

http://cachevideos.com/installation

To achieve some results you need to have some TB of storage installed in cache farm, and make good bandwidth management, because it can utilize lot of your bandwidth while cacheing the files.

Regards.

Faton