<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: How cachable is google (part 2) - Youtube content</title>
	<atom:link href="http://squidproxy.wordpress.com/2007/11/17/how-cachable-is-google-part-2-youtube-content/feed/" rel="self" type="application/rss+xml" />
	<link>http://squidproxy.wordpress.com/2007/11/17/how-cachable-is-google-part-2-youtube-content/</link>
	<description>Squid developments and stuff.</description>
	<pubDate>Thu, 03 Jul 2008 22:31:52 +0000</pubDate>
	<generator>http://wordpress.org/?v=MU</generator>
		<item>
		<title>By: chudycebu</title>
		<link>http://squidproxy.wordpress.com/2007/11/17/how-cachable-is-google-part-2-youtube-content/#comment-177</link>
		<dc:creator>chudycebu</dc:creator>
		<pubDate>Fri, 08 Feb 2008 16:40:37 +0000</pubDate>
		<guid isPermaLink="false">http://squidproxy.wordpress.com/2007/11/17/how-cachable-is-google-part-2-youtube-content/#comment-177</guid>
		<description>I've been trying to look for this squid that has this storeurl_rewrite features and found out that is still on development. Currently using Windows XP squid-2.6.STABLE18 (10 Jan 2008)

I just want to cache the youtube videos (bec its #1 bandwidth sucker and #2 is the imeem)  refresh pattern get_video just works fine for 3years until last thursday. Youtube has been upgraded their url video files.

They add signature, your ip, ipbits, expire, and key in url video files. so it no longer be cache bec signature always change.  so i try to use urlrewrite temporarity until storeurlrewrite feature is up.

$&#124; = 1;

while () {
        chomp;
        # print STDERR $_ . "\n";
        if  (m/^http:\/\/([A-Za-z]*?)-(.*?)\.(.*)\.youtube\.com\/get_video\?video_id=(.*)\&#38;signature=(.*)\&#38;ip=(.*)\&#38;ipbits=(.*)\&#38;expire=(.*)\&#38;key=(.*) /) {
                print "http://" . $1 . "-" . $2 . "." . $3 . ".youtube.com/get_video?video_id=" . $4 . "\n";
        } elsif (m/^http:\/\/(.*?)\/get_video\?video_id=(.*)\&#38;origin=(.*)\&#38;signature=(.*)\&#38;ip=(.*)\&#38;ipbits=(.*)\&#38;expire=(.*)\&#38;key=(.*) /) {
                print "http://" . $3 . "/get_video?video_id=" . $2 . "\n";
        } else {
                print $_ . "\n";
        }
}

i just bypass the CDN network and use the origin url from youtube.
if the storeurlrewrite feature i really love to cache imeem(which is the #2 most annoying bandwidth sucker)</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been trying to look for this squid that has this storeurl_rewrite features and found out that is still on development. Currently using Windows XP squid-2.6.STABLE18 (10 Jan 200 <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> </p>
<p>I just want to cache the youtube videos (bec its #1 bandwidth sucker and #2 is the imeem)  refresh pattern get_video just works fine for 3years until last thursday. Youtube has been upgraded their url video files.</p>
<p>They add signature, your ip, ipbits, expire, and key in url video files. so it no longer be cache bec signature always change.  so i try to use urlrewrite temporarity until storeurlrewrite feature is up.</p>
<p>$| = 1;</p>
<p>while () {<br />
        chomp;<br />
        # print STDERR $_ . &#8220;\n&#8221;;<br />
        if  (m/^http:\/\/([A-Za-z]*?)-(.*?)\.(.*)\.youtube\.com\/get_video\?video_id=(.*)\&amp;signature=(.*)\&amp;ip=(.*)\&amp;ipbits=(.*)\&amp;expire=(.*)\&amp;key=(.*) /) {<br />
                print &#8220;http://&#8221; . $1 . &#8220;-&#8221; . $2 . &#8220;.&#8221; . $3 . &#8220;.youtube.com/get_video?video_id=&#8221; . $4 . &#8220;\n&#8221;;<br />
        } elsif (m/^http:\/\/(.*?)\/get_video\?video_id=(.*)\&amp;origin=(.*)\&amp;signature=(.*)\&amp;ip=(.*)\&amp;ipbits=(.*)\&amp;expire=(.*)\&amp;key=(.*) /) {<br />
                print &#8220;http://&#8221; . $3 . &#8220;/get_video?video_id=&#8221; . $2 . &#8220;\n&#8221;;<br />
        } else {<br />
                print $_ . &#8220;\n&#8221;;<br />
        }<br />
}</p>
<p>i just bypass the CDN network and use the origin url from youtube.<br />
if the storeurlrewrite feature i really love to cache imeem(which is the #2 most annoying bandwidth sucker)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adrian Chadd</title>
		<link>http://squidproxy.wordpress.com/2007/11/17/how-cachable-is-google-part-2-youtube-content/#comment-129</link>
		<dc:creator>Adrian Chadd</dc:creator>
		<pubDate>Tue, 25 Dec 2007 15:03:59 +0000</pubDate>
		<guid isPermaLink="false">http://squidproxy.wordpress.com/2007/11/17/how-cachable-is-google-part-2-youtube-content/#comment-129</guid>
		<description>The legality isn't my concern really. This stuff isn't prefetching Google Earth, nor is it distributing "map packs" to make things faster. Its simply caching the content like any other content. Google isn't specifically trying to make the map tile images uncachable.</description>
		<content:encoded><![CDATA[<p>The legality isn&#8217;t my concern really. This stuff isn&#8217;t prefetching Google Earth, nor is it distributing &#8220;map packs&#8221; to make things faster. Its simply caching the content like any other content. Google isn&#8217;t specifically trying to make the map tile images uncachable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: phreaki</title>
		<link>http://squidproxy.wordpress.com/2007/11/17/how-cachable-is-google-part-2-youtube-content/#comment-121</link>
		<dc:creator>phreaki</dc:creator>
		<pubDate>Thu, 20 Dec 2007 03:25:24 +0000</pubDate>
		<guid isPermaLink="false">http://squidproxy.wordpress.com/2007/11/17/how-cachable-is-google-part-2-youtube-content/#comment-121</guid>
		<description>Thanks for working on this very important task!

Small and third pipe operators need this type of caching to offset P2P, so I'll be trying this method out soon. 

I ponder however: Google Earth? I don't know if it uses SSL, but others have gotten into trouble for making 'map packs'. I hope the DMCA could protect like it's intended for those that try to make everything uncacheable.</description>
		<content:encoded><![CDATA[<p>Thanks for working on this very important task!</p>
<p>Small and third pipe operators need this type of caching to offset P2P, so I&#8217;ll be trying this method out soon. </p>
<p>I ponder however: Google Earth? I don&#8217;t know if it uses SSL, but others have gotten into trouble for making &#8216;map packs&#8217;. I hope the DMCA could protect like it&#8217;s intended for those that try to make everything uncacheable.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
