<?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: Lazy Loading Asyncronous Javascript</title>
	<atom:link href="http://friendlybit.com/js/lazy-loading-asyncronous-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/</link>
	<description>Strategic web development</description>
	<lastBuildDate>Tue, 08 May 2012 22:48:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: DealsKing</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-36752</link>
		<dc:creator>DealsKing</dc:creator>
		<pubDate>Thu, 24 Feb 2011 14:58:00 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-36752</guid>
		<description>You should check out the optimized GA snippet from HTML5 Boilerplate, it&#039;s even more minimal :)</description>
		<content:encoded><![CDATA[<p>You should check out the optimized GA snippet from HTML5 Boilerplate, it&#8217;s even more minimal :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emil Stenström</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34330</link>
		<dc:creator>Emil Stenström</dc:creator>
		<pubDate>Tue, 09 Nov 2010 22:33:39 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34330</guid>
		<description>Hi Peter,

What most people do it first try to load the jQuery script, and then check if the global object &quot;jQuery&quot; is defined, otherwise load it another way. Here&#039;s a thread from StackOverflow with lots of good answers: &lt;a href=&quot;http://stackoverflow.com/questions/1014203/&quot; rel=&quot;nofollow&quot;&gt;http://stackoverflow.com/questions/1014203/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Hi Peter,</p>
<p>What most people do it first try to load the jQuery script, and then check if the global object &#8220;jQuery&#8221; is defined, otherwise load it another way. Here&#8217;s a thread from StackOverflow with lots of good answers: <a href="http://stackoverflow.com/questions/1014203/" rel="nofollow">http://stackoverflow.com/questions/1014203/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34328</link>
		<dc:creator>Peter</dc:creator>
		<pubDate>Tue, 09 Nov 2010 16:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34328</guid>
		<description>Wow, great article Emil! I am building a website which loads a lot of scripts (jQuery, Cycle, Hyphenator, Highslide, SWFObject, GA, etc) so I need good asynchronous loading!

I have one question. Is it possible to have fallback scripts for when a external script fails to load? For example, I would like to use Google&#039;s version of jQuery since that will already be cached by many users, but I need a local fallback version in case Google is not available (Google is blocked in several countries). However, how do I check if an asynchronous scripts is properly loaded?

Thanks anyway for the great explanation!</description>
		<content:encoded><![CDATA[<p>Wow, great article Emil! I am building a website which loads a lot of scripts (jQuery, Cycle, Hyphenator, Highslide, SWFObject, GA, etc) so I need good asynchronous loading!</p>
<p>I have one question. Is it possible to have fallback scripts for when a external script fails to load? For example, I would like to use Google&#8217;s version of jQuery since that will already be cached by many users, but I need a local fallback version in case Google is not available (Google is blocked in several countries). However, how do I check if an asynchronous scripts is properly loaded?</p>
<p>Thanks anyway for the great explanation!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: G</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34304</link>
		<dc:creator>G</dc:creator>
		<pubDate>Thu, 04 Nov 2010 17:03:20 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34304</guid>
		<description>Thanks for the great write-up Emil.

Can you elaborate a bit on what the best-practices are for the script that gets inserted (http://yourdomain.com/script.js in your example code).

What should be in there? I tried to look into your http://static.kundo.se/embed.js code but that is minified.

Thanks in advance!</description>
		<content:encoded><![CDATA[<p>Thanks for the great write-up Emil.</p>
<p>Can you elaborate a bit on what the best-practices are for the script that gets inserted (<a href="http://yourdomain.com/script.js" rel="nofollow">http://yourdomain.com/script.js</a> in your example code).</p>
<p>What should be in there? I tried to look into your <a href="http://static.kundo.se/embed.js" rel="nofollow">http://static.kundo.se/embed.js</a> code but that is minified.</p>
<p>Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Using Javascript in 2011 &#8211; Best Practice &#8211; Techsnippet.com &#171;Techsnippet</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34150</link>
		<dc:creator>Using Javascript in 2011 &#8211; Best Practice &#8211; Techsnippet.com &#171;Techsnippet</dc:creator>
		<pubDate>Tue, 12 Oct 2010 16:55:21 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34150</guid>
		<description>[...] There are a few approaches on Lazy Loading Javascript, one good is by Friendly Bit. [...]</description>
		<content:encoded><![CDATA[<p>[...] There are a few approaches on Lazy Loading Javascript, one good is by Friendly Bit. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damien P.</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34105</link>
		<dc:creator>Damien P.</dc:creator>
		<pubDate>Thu, 23 Sep 2010 14:37:20 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34105</guid>
		<description>I knew loading asyncronous javascript was difficult but i never thought someone could do it as easy as this. Thanks !</description>
		<content:encoded><![CDATA[<p>I knew loading asyncronous javascript was difficult but i never thought someone could do it as easy as this. Thanks !</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nicolas</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34097</link>
		<dc:creator>Nicolas</dc:creator>
		<pubDate>Sat, 18 Sep 2010 18:52:45 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34097</guid>
		<description>Thanks for this study, I love to read new articles about web performance :)</description>
		<content:encoded><![CDATA[<p>Thanks for this study, I love to read new articles about web performance :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ??????????? ???????? ???????? ? HTML ???????? &#171; ?????????</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34095</link>
		<dc:creator>??????????? ???????? ???????? ? HTML ???????? &#171; ?????????</dc:creator>
		<pubDate>Sat, 18 Sep 2010 17:18:31 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34095</guid>
		<description>[...] http://friendlybit.com/js/lazy-loading-asyncronous-javascript/ [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://friendlybit.com/js/lazy-loading-asyncronous-javascript/" rel="nofollow">http://friendlybit.com/js/lazy-loading-asyncronous-javascript/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alexander</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34094</link>
		<dc:creator>Alexander</dc:creator>
		<pubDate>Sat, 18 Sep 2010 16:55:01 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34094</guid>
		<description>Thank you for such a great explanation! saved my time</description>
		<content:encoded><![CDATA[<p>Thank you for such a great explanation! saved my time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emil Stenström</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34068</link>
		<dc:creator>Emil Stenström</dc:creator>
		<pubDate>Thu, 09 Sep 2010 15:16:44 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34068</guid>
		<description>@Aaron: No, I haven&#039;t, sounds lite an interesting article, thanks for the tip!</description>
		<content:encoded><![CDATA[<p>@Aaron: No, I haven&#8217;t, sounds lite an interesting article, thanks for the tip!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emil Stenström</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34067</link>
		<dc:creator>Emil Stenström</dc:creator>
		<pubDate>Thu, 09 Sep 2010 15:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34067</guid>
		<description>@Martin: Good idea. Does files loaded that way block other downloads?</description>
		<content:encoded><![CDATA[<p>@Martin: Good idea. Does files loaded that way block other downloads?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Emil Stenström</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34066</link>
		<dc:creator>Emil Stenström</dc:creator>
		<pubDate>Thu, 09 Sep 2010 11:05:29 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34066</guid>
		<description>@Enrico: Thanks! I replied to your question on StackOverflow, hope it helped.</description>
		<content:encoded><![CDATA[<p>@Enrico: Thanks! I replied to your question on StackOverflow, hope it helped.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Enrico</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34065</link>
		<dc:creator>Enrico</dc:creator>
		<pubDate>Thu, 09 Sep 2010 08:22:35 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34065</guid>
		<description>Nice article, helped me a lot. 
But I encounter a problem with browser caching and the version with the onload event. The browser does then no longer recognize any changes in the loaded javascript. 
I also opened a question at stackoverflow: 
http://stackoverflow.com/questions/3674830/caching-problem-with-asynchronous-javascript-loading-with-onload-event

Maybe somebody knows a solution to this?</description>
		<content:encoded><![CDATA[<p>Nice article, helped me a lot.<br />
But I encounter a problem with browser caching and the version with the onload event. The browser does then no longer recognize any changes in the loaded javascript.<br />
I also opened a question at stackoverflow:<br />
<a href="http://stackoverflow.com/questions/3674830/caching-problem-with-asynchronous-javascript-loading-with-onload-event" rel="nofollow">http://stackoverflow.com/questions/3674830/caching-problem-with-asynchronous-javascript-loading-with-onload-event</a></p>
<p>Maybe somebody knows a solution to this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martin</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34062</link>
		<dc:creator>Martin</dc:creator>
		<pubDate>Tue, 07 Sep 2010 19:10:16 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34062</guid>
		<description>Nice job! 

I&#039;m using the Async pattern but I&#039;d changed the closure statment by a setTimeout call. It&#039;s working perfect on IE and Opera.</description>
		<content:encoded><![CDATA[<p>Nice job! </p>
<p>I&#8217;m using the Async pattern but I&#8217;d changed the closure statment by a setTimeout call. It&#8217;s working perfect on IE and Opera.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gavin</title>
		<link>http://friendlybit.com/js/lazy-loading-asyncronous-javascript/#comment-34052</link>
		<dc:creator>Gavin</dc:creator>
		<pubDate>Thu, 02 Sep 2010 08:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://friendlybit.com/?p=613#comment-34052</guid>
		<description>a great article, and great solution to a common problem.
the perfect way to include 3rd party code without affecting page load</description>
		<content:encoded><![CDATA[<p>a great article, and great solution to a common problem.<br />
the perfect way to include 3rd party code without affecting page load</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced (User agent is rejected)
Database Caching 3/8 queries in 0.002 seconds using disk: basic
Object Caching 386/386 objects using disk: basic

Served from: friendlybit.com @ 2012-05-22 09:53:54 -->
