<?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: Loading Scripts Without Blocking</title>
	<atom:link href="http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/</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/2009/04/27/loading-scripts-without-blocking/#comment-3440</link>
		<dc:creator>Steve Souders</dc:creator>
		<pubDate>Fri, 16 Sep 2011 15:16:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=324#comment-3440</guid>
		<description>@Kail: Thanks for that update. It&#039;s very significant and perhaps breaks some of my older examples. I know it broke other JS loaders, such as labjs.</description>
		<content:encoded><![CDATA[<p>@Kail: Thanks for that update. It&#8217;s very significant and perhaps breaks some of my older examples. I know it broke other JS loaders, such as labjs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kail</title>
		<link>http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/#comment-3439</link>
		<dc:creator>Kail</dc:creator>
		<pubDate>Fri, 16 Sep 2011 04:40:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=324#comment-3439</guid>
		<description>Hi Steve,

I noticed that FF did not ensure order using &quot;Script DOM Element&quot; since its version 3.6.

thx,
Kail</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>I noticed that FF did not ensure order using &#8220;Script DOM Element&#8221; since its version 3.6.</p>
<p>thx,<br />
Kail</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Souders</title>
		<link>http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/#comment-3304</link>
		<dc:creator>Steve Souders</dc:creator>
		<pubDate>Tue, 24 May 2011 03:51:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=324#comment-3304</guid>
		<description>@seaverbo: You have to read the entire page in EFWS. It says &quot;In Firefox, the stylesheet and iframe download in parallel, but the iframe’s resources are blocked by the stylesheet.&quot; That&#039;s also stated again in the &lt;a href=&quot;http://stevesouders.com/efws/stylesheet-before-iframe.php&quot; rel=&quot;nofollow&quot;&gt;example&lt;/a&gt; from that page in EFWS.</description>
		<content:encoded><![CDATA[<p>@seaverbo: You have to read the entire page in EFWS. It says &#8220;In Firefox, the stylesheet and iframe download in parallel, but the iframe’s resources are blocked by the stylesheet.&#8221; That&#8217;s also stated again in the <a href="http://stevesouders.com/efws/stylesheet-before-iframe.php" rel="nofollow">example</a> from that page in EFWS.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seaverbo</title>
		<link>http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/#comment-3300</link>
		<dc:creator>seaverbo</dc:creator>
		<pubDate>Tue, 24 May 2011 02:57:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=324#comment-3300</guid>
		<description>EFWS 13.3.2 stylesheet before iframe said that in IE and FF stylesheet before iframe would block ifame.but in your first waterfall chart &quot;Scripts block downloads in IE6&amp;7, Firefox 2&amp;3.0, Safari 3, Chrome 1, and Opera&quot;, the iframe and stylesheet are downloaded in parallel,why??</description>
		<content:encoded><![CDATA[<p>EFWS 13.3.2 stylesheet before iframe said that in IE and FF stylesheet before iframe would block ifame.but in your first waterfall chart &#8220;Scripts block downloads in IE6&amp;7, Firefox 2&amp;3.0, Safari 3, Chrome 1, and Opera&#8221;, the iframe and stylesheet are downloaded in parallel,why??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clark</title>
		<link>http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/#comment-3007</link>
		<dc:creator>Clark</dc:creator>
		<pubDate>Sat, 05 Feb 2011 02:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=324#comment-3007</guid>
		<description>Steve,

I am not sure what exactly I am missing, but I can not seem to get order of script execution preserved.  I have read this blog as well as your book &quot;Even Faster Websites&quot;. I looked at the example you gave for &quot;FF Ensured Order Execution&quot; and did see that your scripts were loaded in the order called.  I replaced your default scripts with my own and I don&#039;t seem to get order of execution preserved.  I have a line at the top of each script that writes out the innerHTML of a div tag, and when I refresh the page, they will write out in random orders, no matter which order they are called to load in.

Am I missing something, does &quot;FF Ensured Order Execution&quot; mean the scripts will be executed in the order they are loaded, so if one script is dependent on code in another script I can be sure the first called will be the first executed?  

Any insight would be greatly appreciated.  I put the url where I placed the demo in the website input field.</description>
		<content:encoded><![CDATA[<p>Steve,</p>
<p>I am not sure what exactly I am missing, but I can not seem to get order of script execution preserved.  I have read this blog as well as your book &#8220;Even Faster Websites&#8221;. I looked at the example you gave for &#8220;FF Ensured Order Execution&#8221; and did see that your scripts were loaded in the order called.  I replaced your default scripts with my own and I don&#8217;t seem to get order of execution preserved.  I have a line at the top of each script that writes out the innerHTML of a div tag, and when I refresh the page, they will write out in random orders, no matter which order they are called to load in.</p>
<p>Am I missing something, does &#8220;FF Ensured Order Execution&#8221; mean the scripts will be executed in the order they are loaded, so if one script is dependent on code in another script I can be sure the first called will be the first executed?  </p>
<p>Any insight would be greatly appreciated.  I put the url where I placed the demo in the website input field.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Souders</title>
		<link>http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/#comment-2281</link>
		<dc:creator>Steve Souders</dc:creator>
		<pubDate>Tue, 24 Aug 2010 17:19:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=324#comment-2281</guid>
		<description>@Ramakrishnan: If these are inline scripts, it&#039;s less of an issue. If these are external scripts, you could modify how telerik works so that it inserts scripts using an async technique. If you have more questions, please contact me directly.</description>
		<content:encoded><![CDATA[<p>@Ramakrishnan: If these are inline scripts, it&#8217;s less of an issue. If these are external scripts, you could modify how telerik works so that it inserts scripts using an async technique. If you have more questions, please contact me directly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramakrishnan</title>
		<link>http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/#comment-2280</link>
		<dc:creator>Ramakrishnan</dc:creator>
		<pubDate>Tue, 24 Aug 2010 07:01:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=324#comment-2280</guid>
		<description>Hi Steve Souders,
We are working on a web site which monitors the work flow of documents in an organization,
In this project we use telerik controls,which affects the performance of our site because it(Controls) generates scripts while rendering,
what should i do in order to achive high performance.

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi Steve Souders,<br />
We are working on a web site which monitors the work flow of documents in an organization,<br />
In this project we use telerik controls,which affects the performance of our site because it(Controls) generates scripts while rendering,<br />
what should i do in order to achive high performance.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/#comment-2054</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Mon, 10 May 2010 14:45:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=324#comment-2054</guid>
		<description>Hi Steve,

There seems to be a lot of disagreement on StackOverflow about asynch JavaScript downloading.

http://stackoverflow.com/questions/2803305/javascript-how-to-download-js-asynchronously

Would you mind looking into this post and commenting.

You&#039;re awesome. Many thanks.</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>There seems to be a lot of disagreement on StackOverflow about asynch JavaScript downloading.</p>
<p><a href="http://stackoverflow.com/questions/2803305/javascript-how-to-download-js-asynchronously" rel="nofollow">http://stackoverflow.com/questions/2803305/javascript-how-to-download-js-asynchronously</a></p>
<p>Would you mind looking into this post and commenting.</p>
<p>You&#8217;re awesome. Many thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Souders</title>
		<link>http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/#comment-1950</link>
		<dc:creator>Steve Souders</dc:creator>
		<pubDate>Fri, 16 Apr 2010 03:41:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=324#comment-1950</guid>
		<description>@Tim: As I mentioned in the blog post, you can use &lt;a href=&quot;http://cuzillion.com/&quot; rel=&quot;nofollow&quot;&gt;Cuzillion&lt;/a&gt; to see all the techniques. One of the things I love about Cuzillion is that you can create test cases and share them easily. Here&#039;s a &lt;a href=&quot;http://stevesouders.com/cuzillion/?c0=hj1dfff2_0_f&amp;c1=hj1dfff2_0_f&amp;c2=bi1hfff2_0_f&quot; rel=&quot;nofollow&quot;&gt;test page&lt;/a&gt; that shows 2 external scripts and an image. In FF 3.6 they all download in parallel.</description>
		<content:encoded><![CDATA[<p>@Tim: As I mentioned in the blog post, you can use <a href="http://cuzillion.com/" rel="nofollow">Cuzillion</a> to see all the techniques. One of the things I love about Cuzillion is that you can create test cases and share them easily. Here&#8217;s a <a href="http://stevesouders.com/cuzillion/?c0=hj1dfff2_0_f&#038;c1=hj1dfff2_0_f&#038;c2=bi1hfff2_0_f" rel="nofollow">test page</a> that shows 2 external scripts and an image. In FF 3.6 they all download in parallel.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tim</title>
		<link>http://www.stevesouders.com/blog/2009/04/27/loading-scripts-without-blocking/#comment-1949</link>
		<dc:creator>Tim</dc:creator>
		<pubDate>Fri, 16 Apr 2010 01:47:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=324#comment-1949</guid>
		<description>@Steve

Am I doing something wrong, because using Firebug/WebInspect when I use the example code below - yes, my JavaScript downloads in parallel but my images are still blocked from download until the JavaScript has completed.

##################
var head  = document.getElementsByTagName(&quot;head&quot;)[0]; 
var sTag1 = document.createElement(&quot;script&quot;);
sTag1.type = sTag1.type = &quot;text/javascript&quot;;
sTag1.src = &quot;one.js&quot;;
var sTag2 = document.createElement(&quot;script&quot;);
sTag2.type = sTag2.type = &quot;text/javascript&quot;;
sTag2.src = &quot;two.js&quot;;
head.appendChild(sTag1); 
head.appendChild(sTag2); 
##################

Would you mind posting the code to accomplish your Script Dom Element example.

Thanks</description>
		<content:encoded><![CDATA[<p>@Steve</p>
<p>Am I doing something wrong, because using Firebug/WebInspect when I use the example code below &#8211; yes, my JavaScript downloads in parallel but my images are still blocked from download until the JavaScript has completed.</p>
<p>##################<br />
var head  = document.getElementsByTagName(&#8220;head&#8221;)[0];<br />
var sTag1 = document.createElement(&#8220;script&#8221;);<br />
sTag1.type = sTag1.type = &#8220;text/javascript&#8221;;<br />
sTag1.src = &#8220;one.js&#8221;;<br />
var sTag2 = document.createElement(&#8220;script&#8221;);<br />
sTag2.type = sTag2.type = &#8220;text/javascript&#8221;;<br />
sTag2.src = &#8220;two.js&#8221;;<br />
head.appendChild(sTag1);<br />
head.appendChild(sTag2);<br />
##################</p>
<p>Would you mind posting the code to accomplish your Script Dom Element example.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

