Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Possible Duplicate:
How can I cache YouTube videos with Squid Cache?

I am an Administrator for a net cafe. We have limited monthly traffic allowance and in past our investigations showed that 100 out of 500 videos are repeated. I am looking for any way to cache youtube videos on our server so users can watch the same video from our servers. I have tried Squid and searched a lot but nothing helped me. If there is something anyone can suggest I will be very thankful, as this had become a headache for us.

share|improve this question

migrated from stackoverflow.com Feb 10 '11 at 8:11

This question came from our site for professional and enthusiast programmers.

marked as duplicate by splattne Feb 12 '11 at 7:56

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

12  
    
And also this seems to be a Serverfault-specific question. –  vtorhonen Feb 10 '11 at 8:09
    
@vtorhonen: It is now - such comments become outdated very quickly ;) –  Piskvor Feb 10 '11 at 8:15
    
I have checked this as well but it also didn't helped, anyway other out? It failed because youtube continuously changes the server from their clusters so i Squid can't understands, but one thing the video_id and video remains the same...Anyway other out for this? –  Ahsan Feb 10 '11 at 8:15
add comment

3 Answers

This is just a nerdy thought, but I felt like sharing it. Nowadays, browsers themselves cache all YouTube videos. Hence, if, by any possibility you're able to maintain your browser cache from being overwritten, say by increasing the memory allocated to your browser's cache or by backing the contents before being overwritten, then you might succeed in you goal.
--------------------------------------------UPDATE--------------------------------------------
here is the link to an article that says that browsers are capable of caching youtube videos

share|improve this answer
    
I'm not sure that's true.. Can you provide evidence to back up your claims about browsers caching YT content? Static assets, yeah, but streamed and flv videos? –  Tom O'Connor Feb 12 '11 at 11:30
add comment

Well i have Windows SteadyState installed on all my machines which means, everything sweeps after a restart/logoff, i have emailed Qbik (WinGate makers) regarding their wingate, what if that can cache it! But their must be something else! CacheVideos charges allot and also i have tried it, it misses 4 out of 10 videos! So better to use some more good program, Well i am looking forward...!

share|improve this answer
add comment

http://cachevideos.com/ appears to be what you want.

AFAIK you are not supposed to cache youtube vids, youtube don't like it. I don't understand why.

share|improve this answer
3  
Probably because their ranking mechanism relies on views, and possibly completed views, which wouldn't be measurable if the content was served from a local cache. It probably also simplifies content licensing issues. –  dunxd Feb 10 '11 at 10:54
    
because youtube has to count the views of each video so , if one video is transferred from cache , it could led problems to youtube regarding their Counting the videos mechanism. –  Ahsan Feb 12 '11 at 8:02
    
Hm. I guess that could be it. You'd think there's be ways around that though (count when a cache asks if it has been modified?) Thanks for the suggestions tho. –  Tom Newton Feb 28 '11 at 16:28
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.