Re: [squid-users] caching youtube content

From: Chris Robertson <crobertson@dont-contact.us>
Date: Fri, 12 Jan 2007 09:46:17 -0900

Carsey, Robert wrote:
> I'm the sysadmin at a University. Our students looove youtube! I wanted to cache youtube content - some of these files are 5-50MB .. so the savings would be great. However I have run into a problem that would affect the efficiency of my cache...
>
> Apparently youtube uses multiple servers (with different hostnames) to serve the same content. For instance,
>
> http://lax-v87.lax.youtube.com/get_video?video_id=kEysFttcIkE is a 8MB flash video.
> And
> http://lax-v88.lax.youtube.com/get_video?video_id=kEysFttcIkE is the same video.
>
> I would like to tell squid that it should consider hosts of lax-v[0-9]*.lax.youtube.com to all have the same content.
>
> If they only had one or two servers, I wouldn't care so much - but they have presumably hundreds. If their site tells my clients to go to a randomly-assigned host to get the content, I'd rarely get any cache hits.
>
> I'm still reading through the documentation and FAQs.. but I'm not exactly sure what I'm looking for.
>

This seems like a good fit for a redirector
(http://wiki.squid-cache.org/SquidFaq/SquidRedirectors).

Chris
Received on Fri Jan 12 2007 - 11:47:08 MST

This archive was generated by hypermail pre-2.1.9 : Thu Feb 01 2007 - 12:00:01 MST