<?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: CompressorRater: Compare the squeeze</title>
	<atom:link href="http://ajaxian.com/archives/compressorrater-compare-the-squeeze/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/compressorrater-compare-the-squeeze</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 17 May 2012 07:43:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Julien Lecomte</title>
		<link>http://ajaxian.com/archives/compressorrater-compare-the-squeeze/comment-page-1#comment-254844</link>
		<dc:creator>Julien Lecomte</dc:creator>
		<pubDate>Sun, 02 Sep 2007 15:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2724#comment-254844</guid>
		<description>@ck

You are just rediscovering what we&#039;ve all been advocating for quite a long time now: &quot;stay away from â€œadvancedâ€ JavaScript compression schemes that look attractive on paper, but end up degrading the performance of your site&quot;. Instead, use a good (i.e. safe) minifier and Gzip compression. Case closed.</description>
		<content:encoded><![CDATA[<p>@ck</p>
<p>You are just rediscovering what we&#8217;ve all been advocating for quite a long time now: &#8220;stay away from â€œadvancedâ€ JavaScript compression schemes that look attractive on paper, but end up degrading the performance of your site&#8221;. Instead, use a good (i.e. safe) minifier and Gzip compression. Case closed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: _ck_</title>
		<link>http://ajaxian.com/archives/compressorrater-compare-the-squeeze/comment-page-1#comment-254826</link>
		<dc:creator>_ck_</dc:creator>
		<pubDate>Sat, 01 Sep 2007 14:47:08 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2724#comment-254826</guid>
		<description>Actually, the http un-gzip performance hit is a *one time* hit the first time it gets the file, then it is cached uncompressed.  All other code based javascript compression methods are a *repeated* performance hit everytime a page loads the javascript, as it has to uncompress itself each and every time. 

I used this packer http://dean.edwards.name/packer/ with shink variables but no base62 encoding and then level 1 gzip (fewest cpu cycles for both encode and decode) and it far outperforms any javascript compressor. jQuery becomes only half a K larger than it&#039;s compressed counterpart and it caches better and  is ready to execute faster. 

Really, all these compressors are just javascript coders showing off how cleverly they can code but they are wasting their time that could be used on other efforts. Gzip  is proven, works faster and is available on all modern browsers. Problem solved. (I just hope they aren&#039;t trying to do the compression so they can bloat the libraries to over 100k and still boast how small the distribution size is, which is meaningless)</description>
		<content:encoded><![CDATA[<p>Actually, the http un-gzip performance hit is a *one time* hit the first time it gets the file, then it is cached uncompressed.  All other code based javascript compression methods are a *repeated* performance hit everytime a page loads the javascript, as it has to uncompress itself each and every time. </p>
<p>I used this packer <a href="http://dean.edwards.name/packer/" rel="nofollow">http://dean.edwards.name/packer/</a> with shink variables but no base62 encoding and then level 1 gzip (fewest cpu cycles for both encode and decode) and it far outperforms any javascript compressor. jQuery becomes only half a K larger than it&#8217;s compressed counterpart and it caches better and  is ready to execute faster. </p>
<p>Really, all these compressors are just javascript coders showing off how cleverly they can code but they are wasting their time that could be used on other efforts. Gzip  is proven, works faster and is available on all modern browsers. Problem solved. (I just hope they aren&#8217;t trying to do the compression so they can bloat the libraries to over 100k and still boast how small the distribution size is, which is meaningless)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kris Zyp</title>
		<link>http://ajaxian.com/archives/compressorrater-compare-the-squeeze/comment-page-1#comment-254740</link>
		<dc:creator>Kris Zyp</dc:creator>
		<pubDate>Thu, 30 Aug 2007 19:03:26 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2724#comment-254740</guid>
		<description>There is also overhead for your browser to decompress gzip files, but this is extremely fast native code and probably 99% of the time is well worth the speedup in file transfers. While this was a brilliant idea on the part of Dean, gzip still definitely beats packer-base62 compression in compression and speed.</description>
		<content:encoded><![CDATA[<p>There is also overhead for your browser to decompress gzip files, but this is extremely fast native code and probably 99% of the time is well worth the speedup in file transfers. While this was a brilliant idea on the part of Dean, gzip still definitely beats packer-base62 compression in compression and speed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marat Denenberg</title>
		<link>http://ajaxian.com/archives/compressorrater-compare-the-squeeze/comment-page-1#comment-254736</link>
		<dc:creator>Marat Denenberg</dc:creator>
		<pubDate>Thu, 30 Aug 2007 18:27:10 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2724#comment-254736</guid>
		<description>@_ck_

Sorry. Ignore previous comment. Noticed you were talking about base62 and stuff like that. From what I know, it is only about 200ms overhead at most.</description>
		<content:encoded><![CDATA[<p>@_ck_</p>
<p>Sorry. Ignore previous comment. Noticed you were talking about base62 and stuff like that. From what I know, it is only about 200ms overhead at most.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marat Denenberg</title>
		<link>http://ajaxian.com/archives/compressorrater-compare-the-squeeze/comment-page-1#comment-254735</link>
		<dc:creator>Marat Denenberg</dc:creator>
		<pubDate>Thu, 30 Aug 2007 18:24:50 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2724#comment-254735</guid>
		<description>@_ck_

You&#039;re completely missing something. Pack your script using any of the packers mentioned and upload it to your server. Do NOT do it on the fly. Do it once and upload it. Then turn on gzip compression on your server. Your server will gzip a file once it is requested and CACHE it. It will only gzip it once and then serve the cached version. There is NO performance hit. There is only performance improvement.</description>
		<content:encoded><![CDATA[<p>@_ck_</p>
<p>You&#8217;re completely missing something. Pack your script using any of the packers mentioned and upload it to your server. Do NOT do it on the fly. Do it once and upload it. Then turn on gzip compression on your server. Your server will gzip a file once it is requested and CACHE it. It will only gzip it once and then serve the cached version. There is NO performance hit. There is only performance improvement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sergej</title>
		<link>http://ajaxian.com/archives/compressorrater-compare-the-squeeze/comment-page-1#comment-254734</link>
		<dc:creator>Sergej</dc:creator>
		<pubDate>Thu, 30 Aug 2007 18:22:38 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2724#comment-254734</guid>
		<description>Not so powerfully, but simply: http://compressor.ebiene.de</description>
		<content:encoded><![CDATA[<p>Not so powerfully, but simply: <a href="http://compressor.ebiene.de" rel="nofollow">http://compressor.ebiene.de</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien Lecomte</title>
		<link>http://ajaxian.com/archives/compressorrater-compare-the-squeeze/comment-page-1#comment-254733</link>
		<dc:creator>Julien Lecomte</dc:creator>
		<pubDate>Thu, 30 Aug 2007 18:15:04 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2724#comment-254733</guid>
		<description>@ck

You are absolutely right. However, only Packer (as far as I know) with the base62 encoding option enabled, will output code that requires some extra CPU cycles on the client. JSMIN, the Dojo Compressor and the YUI Compressor only remove white-space characters and comments, and the last two do a light obfuscation as well. If you read &lt;a href=&quot;http://www.julienlecomte.net/blog/2007/08/21/gzip-your-minified-javascript-files/&quot; rel=&quot;nofollow&quot;&gt;this article&lt;/a&gt;, you&#039;ll see that jQuery, for example, would be better off distributing their library using a different compressor, and advocating the use of HTTP compression.

Regards</description>
		<content:encoded><![CDATA[<p>@ck</p>
<p>You are absolutely right. However, only Packer (as far as I know) with the base62 encoding option enabled, will output code that requires some extra CPU cycles on the client. JSMIN, the Dojo Compressor and the YUI Compressor only remove white-space characters and comments, and the last two do a light obfuscation as well. If you read <a href="http://www.julienlecomte.net/blog/2007/08/21/gzip-your-minified-javascript-files/" rel="nofollow">this article</a>, you&#8217;ll see that jQuery, for example, would be better off distributing their library using a different compressor, and advocating the use of HTTP compression.</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: _ck_</title>
		<link>http://ajaxian.com/archives/compressorrater-compare-the-squeeze/comment-page-1#comment-254731</link>
		<dc:creator>_ck_</dc:creator>
		<pubDate>Thu, 30 Aug 2007 18:07:56 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2724#comment-254731</guid>
		<description>Am I completely missing something here or doesn&#039;t every javascript &quot;compressor&quot; require extra cpu work and therefore extra delay for every visitor? Even if the &quot;compressed&quot; code is cached, it still has to be uncompressed every time, taking more ram and cpu cycles.

Why not just &quot;pack&quot; the code instead by removing whitespace and renaming variables to shorter size and then just use gzip web compression (aka http compression).  Then when the code is cached in the visitor&#039;s browser, it&#039;s ready to execute on every load.

I did some rough tests and I was able make a &quot;packed&quot; gzip version of jquery within 1k or less of the size of the currently distributed &quot;compressed&quot; version - and the packed version loads quicker!

Most web designers go to great lengths to get even 100ms off a page load, why add 100ms to the client side just so a library developer can boast that they are 1k smaller than another - it&#039;s meaningless!</description>
		<content:encoded><![CDATA[<p>Am I completely missing something here or doesn&#8217;t every javascript &#8220;compressor&#8221; require extra cpu work and therefore extra delay for every visitor? Even if the &#8220;compressed&#8221; code is cached, it still has to be uncompressed every time, taking more ram and cpu cycles.</p>
<p>Why not just &#8220;pack&#8221; the code instead by removing whitespace and renaming variables to shorter size and then just use gzip web compression (aka http compression).  Then when the code is cached in the visitor&#8217;s browser, it&#8217;s ready to execute on every load.</p>
<p>I did some rough tests and I was able make a &#8220;packed&#8221; gzip version of jquery within 1k or less of the size of the currently distributed &#8220;compressed&#8221; version &#8211; and the packed version loads quicker!</p>
<p>Most web designers go to great lengths to get even 100ms off a page load, why add 100ms to the client side just so a library developer can boast that they are 1k smaller than another &#8211; it&#8217;s meaningless!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien Lecomte</title>
		<link>http://ajaxian.com/archives/compressorrater-compare-the-squeeze/comment-page-1#comment-254728</link>
		<dc:creator>Julien Lecomte</dc:creator>
		<pubDate>Thu, 30 Aug 2007 16:42:25 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2724#comment-254728</guid>
		<description>Also, see this article for an explanation on why you should serve your JavaScript using HTTP compression:

http://www.julienlecomte.net/blog/2007/08/21/gzip-your-minified-javascript-files/</description>
		<content:encoded><![CDATA[<p>Also, see this article for an explanation on why you should serve your JavaScript using HTTP compression:</p>
<p><a href="http://www.julienlecomte.net/blog/2007/08/21/gzip-your-minified-javascript-files/" rel="nofollow">http://www.julienlecomte.net/blog/2007/08/21/gzip-your-minified-javascript-files/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Walsh</title>
		<link>http://ajaxian.com/archives/compressorrater-compare-the-squeeze/comment-page-1#comment-254714</link>
		<dc:creator>David Walsh</dc:creator>
		<pubDate>Thu, 30 Aug 2007 12:56:07 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=2724#comment-254714</guid>
		<description>Extremely cool tool.  The best part about these shrinkers is that they continue to improve and we can trust them.  Until internet speeds get much faster (at least in the US), we will need to shrink our javascript libraries if we want fast load times.  Great article and project.</description>
		<content:encoded><![CDATA[<p>Extremely cool tool.  The best part about these shrinkers is that they continue to improve and we can trust them.  Until internet speeds get much faster (at least in the US), we will need to shrink our javascript libraries if we want fast load times.  Great article and project.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

