<?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: Beating Blocking JavaScript: Asynchronous JS</title>
	<atom:link href="http://www.artzstudio.com/2008/07/beating-blocking-javascript-asynchronous-js/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.artzstudio.com/2008/07/beating-blocking-javascript-asynchronous-js/</link>
	<description>Dave Artz and his discoveries in web design and development.</description>
	<lastBuildDate>Fri, 18 Jun 2010 13:32:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Arup</title>
		<link>http://www.artzstudio.com/2008/07/beating-blocking-javascript-asynchronous-js/comment-page-1/#comment-240</link>
		<dc:creator>Arup</dc:creator>
		<pubDate>Tue, 07 Oct 2008 11:08:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.artzstudio.com/?p=10#comment-240</guid>
		<description>I have worked in this async loading js and it is live on uk.msn.com . I will coming up with few features of this later.</description>
		<content:encoded><![CDATA[<p>I have worked in this async loading js and it is live on uk.msn.com . I will coming up with few features of this later.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Arup</title>
		<link>http://www.artzstudio.com/2008/07/beating-blocking-javascript-asynchronous-js/comment-page-1/#comment-239</link>
		<dc:creator>Arup</dc:creator>
		<pubDate>Tue, 07 Oct 2008 11:06:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.artzstudio.com/?p=10#comment-239</guid>
		<description>This implementation has several disavantages also . Like page timeout functionality . Sometimes the ojects are set to null and js not works on the page .</description>
		<content:encoded><![CDATA[<p>This implementation has several disavantages also . Like page timeout functionality . Sometimes the ojects are set to null and js not works on the page .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vladimir Dzhuvinov</title>
		<link>http://www.artzstudio.com/2008/07/beating-blocking-javascript-asynchronous-js/comment-page-1/#comment-180</link>
		<dc:creator>Vladimir Dzhuvinov</dc:creator>
		<pubDate>Mon, 15 Sep 2008 08:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.artzstudio.com/?p=10#comment-180</guid>
		<description>Hi,

I don&#039;t know how versed your readership is, but in case there are any casual readers, it would be good first to explain to them that browser interpreters &quot;block&quot; script execution for a good reason:

http://www.mozilla.org/js/language/js20-1999-03-25/execution-model.html</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I don&#8217;t know how versed your readership is, but in case there are any casual readers, it would be good first to explain to them that browser interpreters &#8220;block&#8221; script execution for a good reason:</p>
<p><a href="http://www.mozilla.org/js/language/js20-1999-03-25/execution-model.html" rel="nofollow">http://www.mozilla.org/js/language/js20-1999-03-25/execution-model.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ArtzStudio</title>
		<link>http://www.artzstudio.com/2008/07/beating-blocking-javascript-asynchronous-js/comment-page-1/#comment-106</link>
		<dc:creator>ArtzStudio</dc:creator>
		<pubDate>Fri, 08 Aug 2008 14:15:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.artzstudio.com/?p=10#comment-106</guid>
		<description>If the functions contained in the JavaScript are more important than other assets (like template images, content images) on the page in terms of perception that the page is loaded and ready, then you should use the Asynchronous JS method. 

JavaScript can be engineered so that you would never know it was there until you did something (usually after the page has loaded), a technique called Progressive Enhancement, but the user gets to that Photo Gallery Next Button and clicks Next before your JavaScript has downloaded, it may be an undesirable experience.

If your web page is JavaScript rich and has many interactive widgets that get a lot of usage, I would recommend going for the asynchronous method to ensure they are initialized as soon as possible. If your page is mainly content and JavaScript is used to spruce up the place, I would recommend loading them at the end of the page. You could even still use the Asynchronous method and set them to load on the &lt;code&gt;window.load&lt;/code&gt; event, effectively after everything else has loaded.

Incidentally, this is why it is not a rule in &lt;a href=&quot;http://www.webpagetest.org&quot; rel=&quot;nofollow&quot;&gt;AOL Pagetest&lt;/a&gt; to load JS at the bottom. It will make your content appear faster, but at the expense of an unenhanced or broken UI. I will blog about my &lt;a href=&quot;http://www.artzstudio.com/artz&quot; rel=&quot;nofollow&quot;&gt;Progressive Enhancement solutions&lt;/a&gt; here in a future post.</description>
		<content:encoded><![CDATA[<p>If the functions contained in the JavaScript are more important than other assets (like template images, content images) on the page in terms of perception that the page is loaded and ready, then you should use the Asynchronous JS method. </p>
<p>JavaScript can be engineered so that you would never know it was there until you did something (usually after the page has loaded), a technique called Progressive Enhancement, but the user gets to that Photo Gallery Next Button and clicks Next before your JavaScript has downloaded, it may be an undesirable experience.</p>
<p>If your web page is JavaScript rich and has many interactive widgets that get a lot of usage, I would recommend going for the asynchronous method to ensure they are initialized as soon as possible. If your page is mainly content and JavaScript is used to spruce up the place, I would recommend loading them at the end of the page. You could even still use the Asynchronous method and set them to load on the <code>window.load</code> event, effectively after everything else has loaded.</p>
<p>Incidentally, this is why it is not a rule in <a href="http://www.webpagetest.org" rel="nofollow">AOL Pagetest</a> to load JS at the bottom. It will make your content appear faster, but at the expense of an unenhanced or broken UI. I will blog about my <a href="http://www.artzstudio.com/artz" rel="nofollow">Progressive Enhancement solutions</a> here in a future post.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dan</title>
		<link>http://www.artzstudio.com/2008/07/beating-blocking-javascript-asynchronous-js/comment-page-1/#comment-103</link>
		<dc:creator>Dan</dc:creator>
		<pubDate>Fri, 08 Aug 2008 07:38:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.artzstudio.com/?p=10#comment-103</guid>
		<description>One common recommendation I&#039;ve seen to avoid the JS blocking issue is to move the JS script tags to the bottom of the HTML file.  How do you think this technique compares to the one you&#039;ve outlined here?  Is it better for the JS to be in the header and start the download sooner than it would&#039;ve been when located at the bottom of the HTML file?</description>
		<content:encoded><![CDATA[<p>One common recommendation I&#8217;ve seen to avoid the JS blocking issue is to move the JS script tags to the bottom of the HTML file.  How do you think this technique compares to the one you&#8217;ve outlined here?  Is it better for the JS to be in the header and start the download sooner than it would&#8217;ve been when located at the bottom of the HTML file?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ArtzStudio</title>
		<link>http://www.artzstudio.com/2008/07/beating-blocking-javascript-asynchronous-js/comment-page-1/#comment-81</link>
		<dc:creator>ArtzStudio</dc:creator>
		<pubDate>Sat, 26 Jul 2008 23:16:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.artzstudio.com/?p=10#comment-81</guid>
		<description>A day before me, doh! I see you didn&#039;t notice the Firefox snag that I ran into, what are your thoughts on that? It seems like Firefox lacks the ability to do two things at once, execution-wise (like me).</description>
		<content:encoded><![CDATA[<p>A day before me, doh! I see you didn&#8217;t notice the Firefox snag that I ran into, what are your thoughts on that? It seems like Firefox lacks the ability to do two things at once, execution-wise (like me).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.artzstudio.com/2008/07/beating-blocking-javascript-asynchronous-js/comment-page-1/#comment-76</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Sat, 26 Jul 2008 21:43:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.artzstudio.com/?p=10#comment-76</guid>
		<description>Heh, I wrote about this pretty much at the same time :) 
http://yuiblog.com/blog/2008/07/22/non-blocking-scripts/</description>
		<content:encoded><![CDATA[<p>Heh, I wrote about this pretty much at the same time <img src='http://www.artzstudio.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<a href="http://yuiblog.com/blog/2008/07/22/non-blocking-scripts/" rel="nofollow">http://yuiblog.com/blog/2008/07/22/non-blocking-scripts/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>
