<?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: Keeping third party JavaScript from slowing down your site</title>
	<atom:link href="http://www.jaisenmathai.com/blog/2008/05/31/keeping-third-party-javascript-from-slowing-down-your-site/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jaisenmathai.com/blog/2008/05/31/keeping-third-party-javascript-from-slowing-down-your-site/</link>
	<description>A blog about killer code</description>
	<lastBuildDate>Thu, 29 Jul 2010 17:11:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Matt</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/31/keeping-third-party-javascript-from-slowing-down-your-site/comment-page-1/#comment-1304</link>
		<dc:creator>Matt</dc:creator>
		<pubDate>Sun, 25 Jul 2010 12:17:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=29#comment-1304</guid>
		<description>There are many better ways of doing this. This method doesn&#039;t support asynchronous loading of JavaScript as well as loading files with document.write in them

http://www.tutkiun.com/2010/07/load-javascript-after-pageload.html</description>
		<content:encoded><![CDATA[<p>There are many better ways of doing this. This method doesn&#8217;t support asynchronous loading of JavaScript as well as loading files with document.write in them</p>
<p><a href="http://www.tutkiun.com/2010/07/load-javascript-after-pageload.html" rel="nofollow">http://www.tutkiun.com/2010/07/load-javascript-after-pageload.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Augustus Vais</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/31/keeping-third-party-javascript-from-slowing-down-your-site/comment-page-1/#comment-1227</link>
		<dc:creator>Augustus Vais</dc:creator>
		<pubDate>Fri, 05 Mar 2010 01:40:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=29#comment-1227</guid>
		<description>Hello, I found this blog article while searching for help with JavaScript. I have recently switched browsers from Google Chrome to Firefox 3.2. After the change I seem to have a problem with loading JavaScript. Every time I browse page that needs Javascript, the page doesn&#039;t load and I get a &quot;runtime error javascript.JSException: Unknown name&quot;. I can&#039;t seem to find out how to fix the problem. Any aid is very appreciated! Thanks</description>
		<content:encoded><![CDATA[<p>Hello, I found this blog article while searching for help with JavaScript. I have recently switched browsers from Google Chrome to Firefox 3.2. After the change I seem to have a problem with loading JavaScript. Every time I browse page that needs Javascript, the page doesn&#8217;t load and I get a &#8220;runtime error javascript.JSException: Unknown name&#8221;. I can&#8217;t seem to find out how to fix the problem. Any aid is very appreciated! Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cielo</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/31/keeping-third-party-javascript-from-slowing-down-your-site/comment-page-1/#comment-1026</link>
		<dc:creator>cielo</dc:creator>
		<pubDate>Thu, 15 Oct 2009 18:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=29#comment-1026</guid>
		<description>Very instructive, but where in my template would I place your JavaScript code? 

My poor blog is running soooo slow that I&#039;m losing readers... HELP please!

cielo</description>
		<content:encoded><![CDATA[<p>Very instructive, but where in my template would I place your JavaScript code? </p>
<p>My poor blog is running soooo slow that I&#8217;m losing readers&#8230; HELP please!</p>
<p>cielo</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaisen</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/31/keeping-third-party-javascript-from-slowing-down-your-site/comment-page-1/#comment-640</link>
		<dc:creator>jaisen</dc:creator>
		<pubDate>Sun, 19 Jul 2009 05:20:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=29#comment-640</guid>
		<description>@Dan, thanks for pointing that out.  That must have got changed somehow during a save of the post.  It&#039;s fixed now.</description>
		<content:encoded><![CDATA[<p>@Dan, thanks for pointing that out.  That must have got changed somehow during a save of the post.  It&#8217;s fixed now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/31/keeping-third-party-javascript-from-slowing-down-your-site/comment-page-1/#comment-639</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sat, 18 Jul 2009 22:43:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=29#comment-639</guid>
		<description>Oops, comments can be exploited, too.
&lt;pre name=&quot;code&quot; class=&quot;js&quot;&gt;alert(&quot;See comments.&quot;);&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Oops, comments can be exploited, too.</p>
<pre name="code" class="js">alert("See comments.");</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/31/keeping-third-party-javascript-from-slowing-down-your-site/comment-page-1/#comment-638</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Sat, 18 Jul 2009 22:37:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=29#comment-638</guid>
		<description>Just a warning - your example has a script to &quot;http://thirdparty.com/path/to/file.js&quot; (the  part isn&#039;t escaped with &lt;) and that destination is an ad site. They could make this page do malicious things.</description>
		<content:encoded><![CDATA[<p>Just a warning &#8211; your example has a script to &#8220;http://thirdparty.com/path/to/file.js&#8221; (the  part isn&#8217;t escaped with &lt;) and that destination is an ad site. They could make this page do malicious things.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Blow</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/31/keeping-third-party-javascript-from-slowing-down-your-site/comment-page-1/#comment-190</link>
		<dc:creator>Chris Blow</dc:creator>
		<pubDate>Mon, 02 Jun 2008 06:51:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=29#comment-190</guid>
		<description>@joey: the js is dynamically written from the server, so you need a &quot;live&quot; connection to the third party. 

But WRT the security issue, you are right on to raise the issue: it was just a few months ago that perl.com was hacked because one of their ad partners (read: remote js) had their domain name expire! ....

When was the last time you checked your 
&quot;content partner&#039;s&quot; registration expiry? :)</description>
		<content:encoded><![CDATA[<p>@joey: the js is dynamically written from the server, so you need a &#8220;live&#8221; connection to the third party. </p>
<p>But WRT the security issue, you are right on to raise the issue: it was just a few months ago that perl.com was hacked because one of their ad partners (read: remote js) had their domain name expire! &#8230;.</p>
<p>When was the last time you checked your<br />
&#8220;content partner&#8217;s&#8221; registration expiry? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joey Mazzarelli</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/31/keeping-third-party-javascript-from-slowing-down-your-site/comment-page-1/#comment-189</link>
		<dc:creator>Joey Mazzarelli</dc:creator>
		<pubDate>Sun, 01 Jun 2008 22:52:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=29#comment-189</guid>
		<description>Have you considered the security aspect of directly including 3rd-party scripts? You are effectively giving them the ability to steal cookies, alter the behavior of your site, read user data, etc.

It requires little effort to make a local copy of the script and use that one instead. And you don&#039;t have to worry bad behavior (malicious or accidental) nor updates breaking your site.

Just a thought.</description>
		<content:encoded><![CDATA[<p>Have you considered the security aspect of directly including 3rd-party scripts? You are effectively giving them the ability to steal cookies, alter the behavior of your site, read user data, etc.</p>
<p>It requires little effort to make a local copy of the script and use that one instead. And you don&#8217;t have to worry bad behavior (malicious or accidental) nor updates breaking your site.</p>
<p>Just a thought.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter Michaux</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/31/keeping-third-party-javascript-from-slowing-down-your-site/comment-page-1/#comment-187</link>
		<dc:creator>Peter Michaux</dc:creator>
		<pubDate>Sat, 31 May 2008 21:48:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=29#comment-187</guid>
		<description>I don&#039;t think using a central source for common JavaScript libraries is such a great idea. At least not in all cases. I don&#039;t think I would use such a source.

http://peter.michaux.ca/article/7906

These startups you mention don&#039;t want you to think about the possible costs. That would discourage adoption.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think using a central source for common JavaScript libraries is such a great idea. At least not in all cases. I don&#8217;t think I would use such a source.</p>
<p><a href="http://peter.michaux.ca/article/7906" rel="nofollow">http://peter.michaux.ca/article/7906</a></p>
<p>These startups you mention don&#8217;t want you to think about the possible costs. That would discourage adoption.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jaisen</title>
		<link>http://www.jaisenmathai.com/blog/2008/05/31/keeping-third-party-javascript-from-slowing-down-your-site/comment-page-1/#comment-186</link>
		<dc:creator>jaisen</dc:creator>
		<pubDate>Sat, 31 May 2008 21:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.jaisenmathai.com/blog/?p=29#comment-186</guid>
		<description>@Peter, the google hosted js libs are a great idea.  Google&#039;s infrastructure is as reliable and fast as you can expect from a third party.

My main concern is that startups while providing great services don&#039;t have infrastructure that&#039;s as reliable as one might expect.  So if you *must* include their scripts it should become a standard practice to minimize your dependency on them.

I would like for these startups to address this issue instead of just giving you a script tag to paste into your site without thinking of the possible cost.</description>
		<content:encoded><![CDATA[<p>@Peter, the google hosted js libs are a great idea.  Google&#8217;s infrastructure is as reliable and fast as you can expect from a third party.</p>
<p>My main concern is that startups while providing great services don&#8217;t have infrastructure that&#8217;s as reliable as one might expect.  So if you *must* include their scripts it should become a standard practice to minimize your dependency on them.</p>
<p>I would like for these startups to address this issue instead of just giving you a script tag to paste into your site without thinking of the possible cost.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
