<?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: Performance Research, Part 6: Less is More — Serving Files Faster by Combining Them</title>
	<atom:link href="http://www.yuiblog.com/blog/index.php/2008/07/21/performance-research-part-6/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.yuiblog.com/blog/2008/07/21/performance-research-part-6/</link>
	<description>The official blog of the YUI Project.</description>
	<lastBuildDate>Thu, 09 Feb 2012 01:46:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: techfounder &#187; Making web-pages go faster using PHP</title>
		<link>http://www.yuiblog.com/blog/2008/07/21/performance-research-part-6/comment-page-1/#comment-517363</link>
		<dc:creator>techfounder &#187; Making web-pages go faster using PHP</dc:creator>
		<pubDate>Sun, 16 Nov 2008 04:52:11 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2008/07/21/performance-research-part-6/#comment-517363</guid>
		<description>[...] As it might be expected, there are several techniques to optimize the delivery of web pages. The Exceptional Performance guide by Yahoo is a great resource for a multitude of optimizations practices, including specifically two techniques which I will address in this article - script minifcation and concatenation. [...]</description>
		<content:encoded><![CDATA[<p>[...] As it might be expected, there are several techniques to optimize the delivery of web pages. The Exceptional Performance guide by Yahoo is a great resource for a multitude of optimizations practices, including specifically two techniques which I will address in this article &#8211; script minifcation and concatenation. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ronenb</title>
		<link>http://www.yuiblog.com/blog/2008/07/21/performance-research-part-6/comment-page-1/#comment-484539</link>
		<dc:creator>Ronenb</dc:creator>
		<pubDate>Thu, 02 Oct 2008 10:26:43 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2008/07/21/performance-research-part-6/#comment-484539</guid>
		<description>I&#039;ve implemented the combine js\css files.
In addition the conbined files are minifed and stored on CDN.
The impact was 1.5-2.5 secs for each page.
I recomand using the AOL pagetest for IE(which is the more problamatic) and YSlow for FF.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve implemented the combine js\css files.<br />
In addition the conbined files are minifed and stored on CDN.<br />
The impact was 1.5-2.5 secs for each page.<br />
I recomand using the AOL pagetest for IE(which is the more problamatic) and YSlow for FF.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Stoyan</title>
		<link>http://www.yuiblog.com/blog/2008/07/21/performance-research-part-6/comment-page-1/#comment-427202</link>
		<dc:creator>Stoyan</dc:creator>
		<pubDate>Wed, 23 Jul 2008 17:52:03 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2008/07/21/performance-research-part-6/#comment-427202</guid>
		<description>@googler: the other parts are linked at the very top of this article</description>
		<content:encoded><![CDATA[<p>@googler: the other parts are linked at the very top of this article</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tenni Theurer</title>
		<link>http://www.yuiblog.com/blog/2008/07/21/performance-research-part-6/comment-page-1/#comment-427145</link>
		<dc:creator>Tenni Theurer</dc:creator>
		<pubDate>Wed, 23 Jul 2008 16:40:11 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2008/07/21/performance-research-part-6/#comment-427145</guid>
		<description>@googler: &lt;a href=&quot;http://yuiblog.com/blog/2006/11/28/performance-research-part-1/&quot; rel=&quot;nofollow&quot;&gt;Part 1&lt;/a&gt;, &lt;a href=&quot;http://yuiblog.com/blog/2007/01/04/performance-research-part-2/&quot; rel=&quot;nofollow&quot;&gt;Part 2&lt;/a&gt;, &lt;a href=&quot;http://yuiblog.com/blog/2007/03/01/performance-research-part-3/&quot; rel=&quot;nofollow&quot;&gt;Part 3&lt;/a&gt;, &lt;a href=&quot;http://yuiblog.com/blog/2007/04/11/performance-research-part-4/&quot; rel=&quot;nofollow&quot;&gt;Part 4&lt;/a&gt;, &lt;a href=&quot;http://yuiblog.com/blog/2008/02/06/iphone-cacheability/&quot; rel=&quot;nofollow&quot;&gt;Part 5&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>@googler: <a href="http://yuiblog.com/blog/2006/11/28/performance-research-part-1/" rel="nofollow">Part 1</a>, <a href="http://yuiblog.com/blog/2007/01/04/performance-research-part-2/" rel="nofollow">Part 2</a>, <a href="http://yuiblog.com/blog/2007/03/01/performance-research-part-3/" rel="nofollow">Part 3</a>, <a href="http://yuiblog.com/blog/2007/04/11/performance-research-part-4/" rel="nofollow">Part 4</a>, <a href="http://yuiblog.com/blog/2008/02/06/iphone-cacheability/" rel="nofollow">Part 5</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Galán y Martins</title>
		<link>http://www.yuiblog.com/blog/2008/07/21/performance-research-part-6/comment-page-1/#comment-427120</link>
		<dc:creator>Daniel Galán y Martins</dc:creator>
		<pubDate>Wed, 23 Jul 2008 16:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2008/07/21/performance-research-part-6/#comment-427120</guid>
		<description>An easy but powerful Java solution is &lt;a href=&quot;http://packtag.sourceforge.net&quot; title=&quot;tag javascript and css compression&quot; rel=&quot;nofollow&quot;&gt;pack:tag&lt;/a&gt;.

This JSP taglib dynamicaly minifies, combines, gzippes, sets various headers, takes care of browser-caching issues (like changing the URL when the file has changed), recognizes changes in the files, and more for JavaScript and CSS.

And it&#039;s easy to use:
&lt;code&gt;

&lt;/code&gt;

Take a look into the &lt;a href=&quot;http://www.galan.de/projects/packtag&quot; title=&quot;tag guide&quot; rel=&quot;nofollow&quot;&gt;guide&lt;/a&gt;.

There are various supported compression algorithems that are available out-of-the-box, like YUI Compressor, JSMin, ..</description>
		<content:encoded><![CDATA[<p>An easy but powerful Java solution is <a href="http://packtag.sourceforge.net" title="tag javascript and css compression" rel="nofollow">pack:tag</a>.</p>
<p>This JSP taglib dynamicaly minifies, combines, gzippes, sets various headers, takes care of browser-caching issues (like changing the URL when the file has changed), recognizes changes in the files, and more for JavaScript and CSS.</p>
<p>And it&#8217;s easy to use:<br />
<code></p>
<p></code></p>
<p>Take a look into the <a href="http://www.galan.de/projects/packtag" title="tag guide" rel="nofollow">guide</a>.</p>
<p>There are various supported compression algorithems that are available out-of-the-box, like YUI Compressor, JSMin, ..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: googler</title>
		<link>http://www.yuiblog.com/blog/2008/07/21/performance-research-part-6/comment-page-1/#comment-426996</link>
		<dc:creator>googler</dc:creator>
		<pubDate>Wed, 23 Jul 2008 13:27:24 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2008/07/21/performance-research-part-6/#comment-426996</guid>
		<description>where is part 5, 4, 3, 2 and 1???</description>
		<content:encoded><![CDATA[<p>where is part 5, 4, 3, 2 and 1???</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ajaxian &#187; Combining JavaScript and CSS for Performance</title>
		<link>http://www.yuiblog.com/blog/2008/07/21/performance-research-part-6/comment-page-1/#comment-426989</link>
		<dc:creator>Ajaxian &#187; Combining JavaScript and CSS for Performance</dc:creator>
		<pubDate>Wed, 23 Jul 2008 13:14:42 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2008/07/21/performance-research-part-6/#comment-426989</guid>
		<description>[...] Theurer of Yahoo! has a new performance post, this time focused on serving files faster by combining them:  One performance technique without having to simplify the page design is to combine multiple [...]</description>
		<content:encoded><![CDATA[<p>[...] Theurer of Yahoo! has a new performance post, this time focused on serving files faster by combining them:  One performance technique without having to simplify the page design is to combine multiple [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tenni Theurer</title>
		<link>http://www.yuiblog.com/blog/2008/07/21/performance-research-part-6/comment-page-1/#comment-426422</link>
		<dc:creator>Tenni Theurer</dc:creator>
		<pubDate>Tue, 22 Jul 2008 20:22:51 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2008/07/21/performance-research-part-6/#comment-426422</guid>
		<description>@αlexander: We didn&#039;t run any experiments on secure pages yet, but that would be my assumption as well.

@heatdphondotes: You should include all (or some combination) of scripts using one script tag as opposed to separate script tags. Also, consider different ways of combining files taking into consideration browser caching, shared versus unshared files across pages, &lt;a href=&quot;http://developer.yahoo.com/performance/rules.html#js_bottom&quot; rel=&quot;nofollow&quot;&gt;scripts at the bottom&lt;/a&gt; performance rule, etc.

@Patay/Eric: I addressed this concern under the Combo Handler Best Practices section: &quot;By combining everything into one large file and using this file across your entire site, some pages will spend time downloading more than it really needs. Instead, take a look at different types of combinations.&quot; Also, keep in mind that not all users will visit your site with a primed cache: &lt;a href=&quot;http://yuiblog.com/blog/2007/01/04/performance-research-part-2/&quot; rel=&quot;nofollow&quot;&gt;Performance Research Part 2&lt;/a&gt;

@Luke: I probably should have added an image component at the end of both figures to illustrate when the pages finish loading. You&#039;re correct in that there would still be a gap between the combined script and image in figure 2 for the time the browser takes to parse and render. However, the overall response time is still typically faster when using a combined file versus six separate files.</description>
		<content:encoded><![CDATA[<p>@αlexander: We didn&#8217;t run any experiments on secure pages yet, but that would be my assumption as well.</p>
<p>@heatdphondotes: You should include all (or some combination) of scripts using one script tag as opposed to separate script tags. Also, consider different ways of combining files taking into consideration browser caching, shared versus unshared files across pages, <a href="http://developer.yahoo.com/performance/rules.html#js_bottom" rel="nofollow">scripts at the bottom</a> performance rule, etc.</p>
<p>@Patay/Eric: I addressed this concern under the Combo Handler Best Practices section: &#8220;By combining everything into one large file and using this file across your entire site, some pages will spend time downloading more than it really needs. Instead, take a look at different types of combinations.&#8221; Also, keep in mind that not all users will visit your site with a primed cache: <a href="http://yuiblog.com/blog/2007/01/04/performance-research-part-2/" rel="nofollow">Performance Research Part 2</a></p>
<p>@Luke: I probably should have added an image component at the end of both figures to illustrate when the pages finish loading. You&#8217;re correct in that there would still be a gap between the combined script and image in figure 2 for the time the browser takes to parse and render. However, the overall response time is still typically faster when using a combined file versus six separate files.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke Chambers</title>
		<link>http://www.yuiblog.com/blog/2008/07/21/performance-research-part-6/comment-page-1/#comment-426346</link>
		<dc:creator>Luke Chambers</dc:creator>
		<pubDate>Tue, 22 Jul 2008 17:09:14 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2008/07/21/performance-research-part-6/#comment-426346</guid>
		<description>&lt;blockquote cite=&quot;&quot;&gt;The gaps between the scripts indicate the time the browser takes to parse and render each script.&lt;/blockquote&gt;

Isn&#039;t the figure 1 slightly misleading in that the browser will block during parsing and rendering. Therefore, the real browser &quot;response&quot; will occur afterwards this completes. Presumably, the parse/render time of the combined script would be equal to the sum of the parse/render time for each individual script. Thus, the combined file would have a large &quot;gap&quot; after downloading until the parse/render completes.

Also, how does downloading 1 file compare to the benefits of achieving parallelization of downloading 2?</description>
		<content:encoded><![CDATA[<blockquote cite=""><p>The gaps between the scripts indicate the time the browser takes to parse and render each script.</p></blockquote>
<p>Isn&#8217;t the figure 1 slightly misleading in that the browser will block during parsing and rendering. Therefore, the real browser &#8220;response&#8221; will occur afterwards this completes. Presumably, the parse/render time of the combined script would be equal to the sum of the parse/render time for each individual script. Thus, the combined file would have a large &#8220;gap&#8221; after downloading until the parse/render completes.</p>
<p>Also, how does downloading 1 file compare to the benefits of achieving parallelization of downloading 2?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Ferraiuolo</title>
		<link>http://www.yuiblog.com/blog/2008/07/21/performance-research-part-6/comment-page-1/#comment-426273</link>
		<dc:creator>Eric Ferraiuolo</dc:creator>
		<pubDate>Tue, 22 Jul 2008 14:01:32 +0000</pubDate>
		<guid isPermaLink="false">http://yuiblog.com/blog/2008/07/21/performance-research-part-6/#comment-426273</guid>
		<description>&lt;blockquote cite=&quot;Patay Khan&quot;&gt;
Each of this combination will be cached at browser as different file, because for browser each combo is a different script file.
&lt;/blockquote&gt;

I was also thinking the same thing. I know it used to be stated that one of the benefits of using the Yahoo CDN was that users might already have the YUI Library files caches from being on other website and using other application before using yours.

Intra-site/app performance may take a hit at Patay is saying with different pages or screens requiring a different combination of resources. 

One possibility would be to load all the possible resources your site/app would ever need using the CDN combo service and referencing that combo file on every page/screen. &lt;&lt; Seems that could lead to a large payload of stuff for a user on their first visit/pageview.</description>
		<content:encoded><![CDATA[<blockquote cite="Patay Khan"><p>
Each of this combination will be cached at browser as different file, because for browser each combo is a different script file.
</p></blockquote>
<p>I was also thinking the same thing. I know it used to be stated that one of the benefits of using the Yahoo CDN was that users might already have the YUI Library files caches from being on other website and using other application before using yours.</p>
<p>Intra-site/app performance may take a hit at Patay is saying with different pages or screens requiring a different combination of resources. </p>
<p>One possibility would be to load all the possible resources your site/app would ever need using the CDN combo service and referencing that combo file on every page/screen. &lt;&lt; Seems that could lead to a large payload of stuff for a user on their first visit/pageview.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

