<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Quick and dirty test of the YUI Compressor</title>
	<atom:link href="http://sbdevel.wordpress.com/2009/07/02/quick-and-dirty-test-of-the-yui-compressor/feed/" rel="self" type="application/rss+xml" />
	<link>http://sbdevel.wordpress.com/2009/07/02/quick-and-dirty-test-of-the-yui-compressor/</link>
	<description>A peekhole into the life of the software development department at the State Library of Denmark</description>
	<lastBuildDate>Thu, 17 Dec 2009 21:51:54 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jørn Thøgersen</title>
		<link>http://sbdevel.wordpress.com/2009/07/02/quick-and-dirty-test-of-the-yui-compressor/#comment-243</link>
		<dc:creator>Jørn Thøgersen</dc:creator>
		<pubDate>Mon, 03 Aug 2009 11:58:49 +0000</pubDate>
		<guid isPermaLink="false">http://sbdevel.wordpress.com/?p=681#comment-243</guid>
		<description>I think it should make a difference as we have many  .js files for the sake of overview as we are several developers working on the same rather large project. So one big file in our case should minimize network overhead. The question is how effective this trade off between number of files and &#039;large file download&#039; is.

For now I am buried in other work as I have just returned from holiday but it is worth a quick and dirty try when I catch up with my pending tasks.</description>
		<content:encoded><![CDATA[<p>I think it should make a difference as we have many  .js files for the sake of overview as we are several developers working on the same rather large project. So one big file in our case should minimize network overhead. The question is how effective this trade off between number of files and &#8216;large file download&#8217; is.</p>
<p>For now I am buried in other work as I have just returned from holiday but it is worth a quick and dirty try when I catch up with my pending tasks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kamstrup</title>
		<link>http://sbdevel.wordpress.com/2009/07/02/quick-and-dirty-test-of-the-yui-compressor/#comment-241</link>
		<dc:creator>kamstrup</dc:creator>
		<pubDate>Thu, 30 Jul 2009 07:35:46 +0000</pubDate>
		<guid isPermaLink="false">http://sbdevel.wordpress.com/?p=681#comment-241</guid>
		<description>I am wondering whether it would make sense to roll up all linked .js and .css files into big catenated files? And maybe also do js-mangling on these files.

It would be an attempt to minimize the number of network roundtrips the browser has to do to load the page. I just checked that Firefox 3.5 (at least) does not have HTTP pipelining enabled by default, which means the browser must do a HTTP GET for each linked file.

Anyways - just a thought.</description>
		<content:encoded><![CDATA[<p>I am wondering whether it would make sense to roll up all linked .js and .css files into big catenated files? And maybe also do js-mangling on these files.</p>
<p>It would be an attempt to minimize the number of network roundtrips the browser has to do to load the page. I just checked that Firefox 3.5 (at least) does not have HTTP pipelining enabled by default, which means the browser must do a HTTP GET for each linked file.</p>
<p>Anyways &#8211; just a thought.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jørn Thøgersen</title>
		<link>http://sbdevel.wordpress.com/2009/07/02/quick-and-dirty-test-of-the-yui-compressor/#comment-232</link>
		<dc:creator>Jørn Thøgersen</dc:creator>
		<pubDate>Fri, 03 Jul 2009 11:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://sbdevel.wordpress.com/?p=681#comment-232</guid>
		<description>Yes the load times should only be effected the first time before the cache kicks in. Actually I just tried it out and the load times the second time around are nearly the same with the minified and normal version. The minified version is a tiny bit faster but probably nothing that would be noticed by the user and not near the half a second that was shaved off the first time you load the page with the minified version.

We do have a lot of home grown JS and rely on Prototype (we are in the process of switching to JQuery) for the rest. I agree that there is a small risk for errors and actually I have had a lot of compressor errors with the jscalendar-1.0 library. As long as obfuscation is not used I still think that this is a small issue as it is easy to disable/enable the compressor and/or exclude certain problematic files. 

It&#039;s a good point that the extra layer of complexity vs the &#039;one time only effect&#039; may turn out to be not worth the hassle. We haven&#039;t concluded anything yet but are in midst of trying different things out and seeing what will yield the most benefit compared to the implementation effort needed.   

Thanks for your comment!</description>
		<content:encoded><![CDATA[<p>Yes the load times should only be effected the first time before the cache kicks in. Actually I just tried it out and the load times the second time around are nearly the same with the minified and normal version. The minified version is a tiny bit faster but probably nothing that would be noticed by the user and not near the half a second that was shaved off the first time you load the page with the minified version.</p>
<p>We do have a lot of home grown JS and rely on Prototype (we are in the process of switching to JQuery) for the rest. I agree that there is a small risk for errors and actually I have had a lot of compressor errors with the jscalendar-1.0 library. As long as obfuscation is not used I still think that this is a small issue as it is easy to disable/enable the compressor and/or exclude certain problematic files. </p>
<p>It&#8217;s a good point that the extra layer of complexity vs the &#8216;one time only effect&#8217; may turn out to be not worth the hassle. We haven&#8217;t concluded anything yet but are in midst of trying different things out and seeing what will yield the most benefit compared to the implementation effort needed.   </p>
<p>Thanks for your comment!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jrochkind</title>
		<link>http://sbdevel.wordpress.com/2009/07/02/quick-and-dirty-test-of-the-yui-compressor/#comment-230</link>
		<dc:creator>jrochkind</dc:creator>
		<pubDate>Thu, 02 Jul 2009 13:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://sbdevel.wordpress.com/?p=681#comment-230</guid>
		<description>That should really only effect load times the FIRST time a user visits your site, because after that their browser should have the JS cached---true?  I&#039;d be interested to learn if my assumption there is incorrect, or if you&#039;ve tested it yourself too, first load vs. subsequent loads. 

The only downside I see is some additional complication in debugging, and the possibiilty that the compressor may introduce bugs (although I&#039;d assume that&#039;s a pretty small risk).  But just generally having another layer to deal with and debug. If you aren&#039;t writing your own JS but only using third party JS libraries that are reasonably mature and tested, perhaps this is less of an issue. 

But personally, based on my assumption that it only would effect the first un-cached page view (not that that&#039;s not important too, it is, but balanced overall...) vs having another layer in my environment to effect debugging and stuff, I&#039;ve never pursued that compression stuff.</description>
		<content:encoded><![CDATA[<p>That should really only effect load times the FIRST time a user visits your site, because after that their browser should have the JS cached&#8212;true?  I&#8217;d be interested to learn if my assumption there is incorrect, or if you&#8217;ve tested it yourself too, first load vs. subsequent loads. </p>
<p>The only downside I see is some additional complication in debugging, and the possibiilty that the compressor may introduce bugs (although I&#8217;d assume that&#8217;s a pretty small risk).  But just generally having another layer to deal with and debug. If you aren&#8217;t writing your own JS but only using third party JS libraries that are reasonably mature and tested, perhaps this is less of an issue. </p>
<p>But personally, based on my assumption that it only would effect the first un-cached page view (not that that&#8217;s not important too, it is, but balanced overall&#8230;) vs having another layer in my environment to effect debugging and stuff, I&#8217;ve never pursued that compression stuff.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
