<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Google AJAX Libraries API</title>
	<atom:link href="http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/</link>
	<description>Essential knowledge for making your web pages faster.</description>
	<lastBuildDate>Sat, 04 Feb 2012 09:46:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Steve Souders</title>
		<link>http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-3394</link>
		<dc:creator>Steve Souders</dc:creator>
		<pubDate>Fri, 29 Jul 2011 22:09:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-3394</guid>
		<description>@Richard: First step is to gather some data. I see this often where people spend a lot of effort based on anecdotal data or perceived performance, and it&#039;s usually wrong. What&#039;s the average, median, and 95% load time for jquery from Google vs your own servers? Since you mostly discuss extreme outages (eg, response time &gt; 10 seconds), what percentage of time is there an &quot;outage&quot; on Google vs your servers?

I&#039;m willing to bet you&#039;re going to find Google Ajax Libraries is better in every metric, but for the sake of discussion let&#039;s assume there&#039;s enough of an issue that you&#039;d like to pursue this. Even if the outages are rare, it&#039;d be nice to have a fallback because it&#039;s less likely both Google and your servers would be down at the same time.

I&#039;ve never worked on this before, but you could use something like the image/object script loading technique from ControlJS/Stoyan and load BOTH versions of jquery simultaneously. Remember that with these techniques the script is downloaded but is NOT parsed &amp; executed. Then, whichever script comes back first is the one you&#039;ll use.</description>
		<content:encoded><![CDATA[<p>@Richard: First step is to gather some data. I see this often where people spend a lot of effort based on anecdotal data or perceived performance, and it&#8217;s usually wrong. What&#8217;s the average, median, and 95% load time for jquery from Google vs your own servers? Since you mostly discuss extreme outages (eg, response time > 10 seconds), what percentage of time is there an &#8220;outage&#8221; on Google vs your servers?</p>
<p>I&#8217;m willing to bet you&#8217;re going to find Google Ajax Libraries is better in every metric, but for the sake of discussion let&#8217;s assume there&#8217;s enough of an issue that you&#8217;d like to pursue this. Even if the outages are rare, it&#8217;d be nice to have a fallback because it&#8217;s less likely both Google and your servers would be down at the same time.</p>
<p>I&#8217;ve never worked on this before, but you could use something like the image/object script loading technique from ControlJS/Stoyan and load BOTH versions of jquery simultaneously. Remember that with these techniques the script is downloaded but is NOT parsed &#038; executed. Then, whichever script comes back first is the one you&#8217;ll use.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Morgan</title>
		<link>http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-3393</link>
		<dc:creator>Richard Morgan</dc:creator>
		<pubDate>Fri, 29 Jul 2011 21:52:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-3393</guid>
		<description>Steve,

I realize this has been around for a couple years, and I love the concept, but I&#039;ve been stalling to implement it for a certain site because we have time-sensitive functionality (real-time bidding on auctions), and despite the fact Google&#039;s servers are generally extremely fast, sometimes they&#039;re slow, and that could have major consequences for us.

I realize there are workarounds to load jQuery from our own server when Google is down or blocked, but is there anything we can do for times when Google is just plain slow? The reasoning is we can justify the occasional problem on our own servers, because if jQuery is not loading, we have bigger problems, and our customers are probably aware, and we&#039;ll make sure we accommodate those users in our auctions, but if Google CDN starts running slowly for customers in a certain part of the country, we won&#039;t know in time, and they won&#039;t be happy.

Are we being overly concerned? Are we simply a bad candidate for Google CDN, due to the nature of our site? Or is there a workaround so that we can avoid this becoming an issue?

It seems like it would be ideal if we could just specify a callback that would run when the Google Loader API noticed poor response times.

I haven&#039;t found any good solutions for this, so I&#039;m hoping you can help.

Thanks,
Richard</description>
		<content:encoded><![CDATA[<p>Steve,</p>
<p>I realize this has been around for a couple years, and I love the concept, but I&#8217;ve been stalling to implement it for a certain site because we have time-sensitive functionality (real-time bidding on auctions), and despite the fact Google&#8217;s servers are generally extremely fast, sometimes they&#8217;re slow, and that could have major consequences for us.</p>
<p>I realize there are workarounds to load jQuery from our own server when Google is down or blocked, but is there anything we can do for times when Google is just plain slow? The reasoning is we can justify the occasional problem on our own servers, because if jQuery is not loading, we have bigger problems, and our customers are probably aware, and we&#8217;ll make sure we accommodate those users in our auctions, but if Google CDN starts running slowly for customers in a certain part of the country, we won&#8217;t know in time, and they won&#8217;t be happy.</p>
<p>Are we being overly concerned? Are we simply a bad candidate for Google CDN, due to the nature of our site? Or is there a workaround so that we can avoid this becoming an issue?</p>
<p>It seems like it would be ideal if we could just specify a callback that would run when the Google Loader API noticed poor response times.</p>
<p>I haven&#8217;t found any good solutions for this, so I&#8217;m hoping you can help.</p>
<p>Thanks,<br />
Richard</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Souders</title>
		<link>http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-209</link>
		<dc:creator>Steve Souders</dc:creator>
		<pubDate>Mon, 02 Jun 2008 18:47:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-209</guid>
		<description>Brian: Thanks for the feedback. That was a lot of deep material. I worked hard to use good examples and clear data. It&#039;s nice to hear it was well received. 

The slides are available on my front page: http://stevesouders.com/ (click on the &quot;slides&quot; link next to &quot;Google I/O&quot;).</description>
		<content:encoded><![CDATA[<p>Brian: Thanks for the feedback. That was a lot of deep material. I worked hard to use good examples and clear data. It&#8217;s nice to hear it was well received. </p>
<p>The slides are available on my front page: <a href="http://stevesouders.com/" rel="nofollow">http://stevesouders.com/</a> (click on the &#8220;slides&#8221; link next to &#8220;Google I/O&#8221;).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Love</title>
		<link>http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-208</link>
		<dc:creator>Brian Love</dc:creator>
		<pubDate>Mon, 02 Jun 2008 18:02:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-208</guid>
		<description>Steve:  I was able to attend your session at the recent Google I/O conference - great preso.  Any chance you will be posting the slides - wanted to share with a couple of my colleagues.</description>
		<content:encoded><![CDATA[<p>Steve:  I was able to attend your session at the recent Google I/O conference &#8211; great preso.  Any chance you will be posting the slides &#8211; wanted to share with a couple of my colleagues.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Souders</title>
		<link>http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-207</link>
		<dc:creator>Steve Souders</dc:creator>
		<pubDate>Fri, 30 May 2008 04:39:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-207</guid>
		<description>Dan: The minified versions were provided by the framework teams themselves.

John: The choice of which versions to serve was determined by the framework teams.</description>
		<content:encoded><![CDATA[<p>Dan: The minified versions were provided by the framework teams themselves.</p>
<p>John: The choice of which versions to serve was determined by the framework teams.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-206</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 29 May 2008 03:57:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-206</guid>
		<description>Steve, if you can put in the good word to the API team to host older versions of these libraries that would be awesome!</description>
		<content:encoded><![CDATA[<p>Steve, if you can put in the good word to the API team to host older versions of these libraries that would be awesome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-205</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Wed, 28 May 2008 20:09:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-205</guid>
		<description>Does anyone know what minification process Google is using?</description>
		<content:encoded><![CDATA[<p>Does anyone know what minification process Google is using?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sameer</title>
		<link>http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-204</link>
		<dc:creator>Sameer</dc:creator>
		<pubDate>Wed, 28 May 2008 16:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-204</guid>
		<description>Can&#039;t wait to use it.</description>
		<content:encoded><![CDATA[<p>Can&#8217;t wait to use it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Louis</title>
		<link>http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-203</link>
		<dc:creator>Louis</dc:creator>
		<pubDate>Wed, 28 May 2008 14:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-203</guid>
		<description>@Jan: I&#039;ve tested Google CDN and the performances are astonishing ! Here in France, Mootools yui compressed is like 100ms to load according to firebug. Even compared with my version of Mootools (without a lot of components), it&#039;s pretty much the same delay to load !

Google has done a terrific work here. Though, the big problem is that they only offer full size versions of the framework, that means useless components are loaded.

I think it mainly aims the heavy web apps, but doesn&#039;t aim the little uses of JS you can see on blogs for example.</description>
		<content:encoded><![CDATA[<p>@Jan: I&#8217;ve tested Google CDN and the performances are astonishing ! Here in France, Mootools yui compressed is like 100ms to load according to firebug. Even compared with my version of Mootools (without a lot of components), it&#8217;s pretty much the same delay to load !</p>
<p>Google has done a terrific work here. Though, the big problem is that they only offer full size versions of the framework, that means useless components are loaded.</p>
<p>I think it mainly aims the heavy web apps, but doesn&#8217;t aim the little uses of JS you can see on blogs for example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jan</title>
		<link>http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-202</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Wed, 28 May 2008 09:30:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/2008/05/27/google-ajax-libraries-api/#comment-202</guid>
		<description>Sounds good! I was thinking about community-hosting the libraries above, this is even better.

I was thinking that adding this link to a page forces the browser to potentially do one DNS lookup more.

It would be interesting to know how large the distribution of the above files is, e.g. when the threshold of cache vs. dns lookup is reached.

And one more thing: how good is the google CDN outside the US? For example here in Germany many US-based CDNs only have one POP. With 99% of our users coming from Germany using a CDN may actually reduce the speed, since our servers sit right in the second-largest DSL providers main datacentre.</description>
		<content:encoded><![CDATA[<p>Sounds good! I was thinking about community-hosting the libraries above, this is even better.</p>
<p>I was thinking that adding this link to a page forces the browser to potentially do one DNS lookup more.</p>
<p>It would be interesting to know how large the distribution of the above files is, e.g. when the threshold of cache vs. dns lookup is reached.</p>
<p>And one more thing: how good is the google CDN outside the US? For example here in Germany many US-based CDNs only have one POP. With 99% of our users coming from Germany using a CDN may actually reduce the speed, since our servers sit right in the second-largest DSL providers main datacentre.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

