<?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: Mobile Gmail and async script loading</title>
	<atom:link href="http://www.stevesouders.com/blog/2009/09/26/mobile-gmail-and-async-script-loading/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stevesouders.com/blog/2009/09/26/mobile-gmail-and-async-script-loading/</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: serkan</title>
		<link>http://www.stevesouders.com/blog/2009/09/26/mobile-gmail-and-async-script-loading/#comment-1414</link>
		<dc:creator>serkan</dc:creator>
		<pubDate>Sat, 16 Jan 2010 13:59:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=585#comment-1414</guid>
		<description>&lt;a href=&quot;http://www.seslichatciyim.com&quot; title=&quot;sesli chat, seslichat&quot; rel=&quot;nofollow&quot;&gt;Sesli Chat&lt;/a&gt;
&lt;a href=&quot;http://www.seslichatciyim.com&quot; title=&quot;sesli chat, seslichat&quot; rel=&quot;nofollow&quot;&gt;Sesli Sohbet&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://www.seslichatciyim.com" title="sesli chat, seslichat" rel="nofollow">Sesli Chat</a><br />
<a href="http://www.seslichatciyim.com" title="sesli chat, seslichat" rel="nofollow">Sesli Sohbet</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhu Jahagirdar</title>
		<link>http://www.stevesouders.com/blog/2009/09/26/mobile-gmail-and-async-script-loading/#comment-872</link>
		<dc:creator>Madhu Jahagirdar</dc:creator>
		<pubDate>Fri, 02 Oct 2009 19:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=585#comment-872</guid>
		<description>I did some analysis on the Microsoft outlook web access and interesting thing is that once the page is loaded user is able to type in username and password etc., but in the background loads of js and images are being dowloaded and the application doesn&#039;t become unresponsive. Is it only when the JS is executing the application becomes unresponsive or even when the js is being parsed ? or is MS using some different techniques ?</description>
		<content:encoded><![CDATA[<p>I did some analysis on the Microsoft outlook web access and interesting thing is that once the page is loaded user is able to type in username and password etc., but in the background loads of js and images are being dowloaded and the application doesn&#8217;t become unresponsive. Is it only when the JS is executing the application becomes unresponsive or even when the js is being parsed ? or is MS using some different techniques ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: V1</title>
		<link>http://www.stevesouders.com/blog/2009/09/26/mobile-gmail-and-async-script-loading/#comment-867</link>
		<dc:creator>V1</dc:creator>
		<pubDate>Thu, 01 Oct 2009 10:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=585#comment-867</guid>
		<description>@clint you could do something like


&lt;!-- ({javascript}) --&gt;
&lt;!-- ({javascript}) --&gt;


And just loop over the nodes. Maybe add prefix in each comments to id them..

eg.

&lt;!-- id:animations=({ javascript }) --&gt;</description>
		<content:encoded><![CDATA[<p>@clint you could do something like</p>
<p><!-- ({javascript}) --><br />
<!-- ({javascript}) --></p>
<p>And just loop over the nodes. Maybe add prefix in each comments to id them..</p>
<p>eg.</p>
<p><!-- id:animations=({ javascript }) --></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clint Hall</title>
		<link>http://www.stevesouders.com/blog/2009/09/26/mobile-gmail-and-async-script-loading/#comment-866</link>
		<dc:creator>Clint Hall</dc:creator>
		<pubDate>Thu, 01 Oct 2009 04:29:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=585#comment-866</guid>
		<description>@James you&#039;re probably right; but I&#039;m operating in blind, best-practices mode.

@V1 ooo... I like that thought!  But how would you divide that into &quot;modules&quot; of executable content?

But consider this... move a bunch of commented out, minified script to the bottom of the page?  You could add an ID to each script block, grab the content, remove the comment and re-inject it into the block... that would incorporate a majority of this feedback, no?

I have a feeling we&#039;re discussing milliseconds of time, though.  It&#039;s a great concept.</description>
		<content:encoded><![CDATA[<p>@James you&#8217;re probably right; but I&#8217;m operating in blind, best-practices mode.</p>
<p>@V1 ooo&#8230; I like that thought!  But how would you divide that into &#8220;modules&#8221; of executable content?</p>
<p>But consider this&#8230; move a bunch of commented out, minified script to the bottom of the page?  You could add an ID to each script block, grab the content, remove the comment and re-inject it into the block&#8230; that would incorporate a majority of this feedback, no?</p>
<p>I have a feeling we&#8217;re discussing milliseconds of time, though.  It&#8217;s a great concept.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: V1</title>
		<link>http://www.stevesouders.com/blog/2009/09/26/mobile-gmail-and-async-script-loading/#comment-862</link>
		<dc:creator>V1</dc:creator>
		<pubDate>Tue, 29 Sep 2009 11:12:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=585#comment-862</guid>
		<description>@Steve good point.

But one thing i&#039;m wondering about on this technique is why they put the modules inside  tags instead of plain HTML comments.

You can read the DOM HTML comments nodes, and inject eval its contents. This will probably speed up the page even more as the browser does not need to load a script tag at all.

(At least if my interpretations are correct on this )</description>
		<content:encoded><![CDATA[<p>@Steve good point.</p>
<p>But one thing i&#8217;m wondering about on this technique is why they put the modules inside  tags instead of plain HTML comments.</p>
<p>You can read the DOM HTML comments nodes, and inject eval its contents. This will probably speed up the page even more as the browser does not need to load a script tag at all.</p>
<p>(At least if my interpretations are correct on this )</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve Souders</title>
		<link>http://www.stevesouders.com/blog/2009/09/26/mobile-gmail-and-async-script-loading/#comment-854</link>
		<dc:creator>Steve Souders</dc:creator>
		<pubDate>Mon, 28 Sep 2009 02:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=585#comment-854</guid>
		<description>@V1: I&#039;ve investigated this approach previously. It fires the onerror handler. So we&#039;re relying on browsers caching error images - not a very solid foundation.

@Marcus: It would be easier to create script DOM elements in the main page than via an iframe. 

@Clint: Hi, Clint! Setting the innerHTML will work and is probably slightly faster than eval.</description>
		<content:encoded><![CDATA[<p>@V1: I&#8217;ve investigated this approach previously. It fires the onerror handler. So we&#8217;re relying on browsers caching error images &#8211; not a very solid foundation.</p>
<p>@Marcus: It would be easier to create script DOM elements in the main page than via an iframe. </p>
<p>@Clint: Hi, Clint! Setting the innerHTML will work and is probably slightly faster than eval.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Cape</title>
		<link>http://www.stevesouders.com/blog/2009/09/26/mobile-gmail-and-async-script-loading/#comment-853</link>
		<dc:creator>James Cape</dc:creator>
		<pubDate>Mon, 28 Sep 2009 02:51:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=585#comment-853</guid>
		<description>Clint,

Worth testing out, but I&#039;m thinking if it&#039;s more than a hundred microseconds faster, it&#039;s because the browser&#039;s doing something dumb.</description>
		<content:encoded><![CDATA[<p>Clint,</p>
<p>Worth testing out, but I&#8217;m thinking if it&#8217;s more than a hundred microseconds faster, it&#8217;s because the browser&#8217;s doing something dumb.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Clint Hall</title>
		<link>http://www.stevesouders.com/blog/2009/09/26/mobile-gmail-and-async-script-loading/#comment-852</link>
		<dc:creator>Clint Hall</dc:creator>
		<pubDate>Mon, 28 Sep 2009 02:13:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=585#comment-852</guid>
		<description>This is really cool...

I wonder if it would be faster if you simply set the innerHTML of the script tag to the comment-stripped string, rather than eval?  Doesn&#039;t the code get executed in this manner with XHR injection?</description>
		<content:encoded><![CDATA[<p>This is really cool&#8230;</p>
<p>I wonder if it would be faster if you simply set the innerHTML of the script tag to the comment-stripped string, rather than eval?  Doesn&#8217;t the code get executed in this manner with XHR injection?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcus Westin</title>
		<link>http://www.stevesouders.com/blog/2009/09/26/mobile-gmail-and-async-script-loading/#comment-850</link>
		<dc:creator>Marcus Westin</dc:creator>
		<pubDate>Sun, 27 Sep 2009 22:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=585#comment-850</guid>
		<description>Hi Steve,

using an iframe on the same domain which in turn loads a js file from a foreign domain (in which the code is in a comment block) would probably have the same performance benefit as loading the js directly into an iframe. It would also work for any website despite domain setup.

What do you think?</description>
		<content:encoded><![CDATA[<p>Hi Steve,</p>
<p>using an iframe on the same domain which in turn loads a js file from a foreign domain (in which the code is in a comment block) would probably have the same performance benefit as loading the js directly into an iframe. It would also work for any website despite domain setup.</p>
<p>What do you think?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Madhu Jahagirdar</title>
		<link>http://www.stevesouders.com/blog/2009/09/26/mobile-gmail-and-async-script-loading/#comment-849</link>
		<dc:creator>Madhu Jahagirdar</dc:creator>
		<pubDate>Sun, 27 Sep 2009 17:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.stevesouders.com/blog/?p=585#comment-849</guid>
		<description>Great Post. Kudos to google team.</description>
		<content:encoded><![CDATA[<p>Great Post. Kudos to google team.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

