<?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: Test Drive of the Google Hosted Ajax Libraries</title>
	<atom:link href="http://blog.httpwatch.com/2008/07/08/test-drive-of-the-google-hosted-ajax-libraries/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.httpwatch.com/2008/07/08/test-drive-of-the-google-hosted-ajax-libraries/</link>
	<description>News, articles and all things HttpWatch</description>
	<pubDate>Thu, 04 Dec 2008 23:24:38 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: Httpwatch Blog</title>
		<link>http://blog.httpwatch.com/2008/07/08/test-drive-of-the-google-hosted-ajax-libraries/#comment-1026</link>
		<dc:creator>Httpwatch Blog</dc:creator>
		<pubDate>Fri, 11 Jul 2008 06:01:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.httpwatch.com/2008/07/08/test-drive-of-the-google-hosted-ajax-libraries/#comment-1026</guid>
		<description>Glenn,

Yes, a conditional tag is probably the best way to handle this. Google have a similar problem with Google Analytics, but they did provide SSL support.

There's no problem with different SSL certs (try https://www.httpwatch.com). The page includes this conditional code to switch protocols:

&#60;script type="text/javascript"&#62;
	var gaJsHost = (("https:" == document.location.protocol) ?
	"https://ssl." : "http://www.");
	document.write(unescape("%3Cscript src='" + gaJsHost +
	"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
&#60;/script&#62;</description>
		<content:encoded><![CDATA[<p>Glenn,</p>
<p>Yes, a conditional tag is probably the best way to handle this. Google have a similar problem with Google Analytics, but they did provide SSL support.</p>
<p>There&#8217;s no problem with different SSL certs (try <a href="https://www.httpwatch.com" rel="nofollow">https://www.httpwatch.com</a>). The page includes this conditional code to switch protocols:</p>
<p>&lt;script type=&#8221;text/javascript&#8221;&gt;<br />
	var gaJsHost = ((&#8221;https:&#8221; == document.location.protocol) ?<br />
	&#8220;https://ssl.&#8221; : &#8220;http://www.&#8221;);<br />
	document.write(unescape(&#8221;%3Cscript src=&#8217;&#8221; + gaJsHost +<br />
	&#8220;google-analytics.com/ga.js&#8217; type=&#8217;text/javascript&#8217;%3E%3C/script%3E&#8221;));<br />
&lt;/script&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Breck</title>
		<link>http://blog.httpwatch.com/2008/07/08/test-drive-of-the-google-hosted-ajax-libraries/#comment-1024</link>
		<dc:creator>Breck</dc:creator>
		<pubDate>Fri, 11 Jul 2008 03:49:08 +0000</pubDate>
		<guid isPermaLink="false">http://blog.httpwatch.com/2008/07/08/test-drive-of-the-google-hosted-ajax-libraries/#comment-1024</guid>
		<description>Thanks! That's a significant improvement. Enough to convince me to use them as well.</description>
		<content:encoded><![CDATA[<p>Thanks! That&#8217;s a significant improvement. Enough to convince me to use them as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Glenn Rempe</title>
		<link>http://blog.httpwatch.com/2008/07/08/test-drive-of-the-google-hosted-ajax-libraries/#comment-1023</link>
		<dc:creator>Glenn Rempe</dc:creator>
		<pubDate>Fri, 11 Jul 2008 03:47:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.httpwatch.com/2008/07/08/test-drive-of-the-google-hosted-ajax-libraries/#comment-1023</guid>
		<description>Couldn't you wrap the script src tag in a conditional block so:

if connection is https
  script src local copy
else
  script src google copy
end

This would allow usage of their copy for most access, and in the hopefully limited cases where you are operating over an ssl connection, you get the copy served over the local web server.

I'm not sure how it would ever be possible to make ssl work from a google host since even if they serve it over ssl won't browsers complain on retrieving ssl content from different servers with different ssl certs?

Cheers.</description>
		<content:encoded><![CDATA[<p>Couldn&#8217;t you wrap the script src tag in a conditional block so:</p>
<p>if connection is https<br />
  script src local copy<br />
else<br />
  script src google copy<br />
end</p>
<p>This would allow usage of their copy for most access, and in the hopefully limited cases where you are operating over an ssl connection, you get the copy served over the local web server.</p>
<p>I&#8217;m not sure how it would ever be possible to make ssl work from a google host since even if they serve it over ssl won&#8217;t browsers complain on retrieving ssl content from different servers with different ssl certs?</p>
<p>Cheers.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Son Nguyen</title>
		<link>http://blog.httpwatch.com/2008/07/08/test-drive-of-the-google-hosted-ajax-libraries/#comment-1002</link>
		<dc:creator>Son Nguyen</dc:creator>
		<pubDate>Wed, 09 Jul 2008 22:57:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.httpwatch.com/2008/07/08/test-drive-of-the-google-hosted-ajax-libraries/#comment-1002</guid>
		<description>Excellent analysis! With this result, we are more confident in the advertised improvement as we have just switched to the hosted jquery library for our ad server, AdSpeed.</description>
		<content:encoded><![CDATA[<p>Excellent analysis! With this result, we are more confident in the advertised improvement as we have just switched to the hosted jquery library for our ad server, AdSpeed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
