<?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: Dean Edwards /packer/ compression tool</title>
	<atom:link href="http://www.clientcide.com/best-practices/optimization/dean-edwards-packer-compression-tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.clientcide.com/best-practices/optimization/dean-edwards-packer-compression-tool/</link>
	<description>Making stuff work on the other side of the request.</description>
	<lastBuildDate>Tue, 05 Jan 2010 18:16:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dean Edwards</title>
		<link>http://www.clientcide.com/best-practices/optimization/dean-edwards-packer-compression-tool/comment-page-1/#comment-77</link>
		<dc:creator>Dean Edwards</dc:creator>
		<pubDate>Fri, 24 Nov 2006 19:37:07 +0000</pubDate>
		<guid isPermaLink="false">http://clientside.cnet.com/best-practices/optimization/dean-edwards-packer-compression-tool/#comment-77</guid>
		<description>It is not the eval that is slow. There is only one eval and it is equivalent to document.write in terms of speed. The overhead is cause by string replacement. There is only one of these but it executes over (in this case) a 30K string.

You have to do the math yourself. If you are getting a lot of one-off hits then packing is the way to go. If you are confident that you will get a lot of return visitors then just whitespace and comment removal may be sufficient. Like a lot of things this is a judgement call.

The next version of packer will provide variable/argument substitution for a higher compression rate and proper obfuscation. This also makes the minified (whitepaces stripped) version much smaller too.</description>
		<content:encoded><![CDATA[<p>It is not the eval that is slow. There is only one eval and it is equivalent to document.write in terms of speed. The overhead is cause by string replacement. There is only one of these but it executes over (in this case) a 30K string.</p>
<p>You have to do the math yourself. If you are getting a lot of one-off hits then packing is the way to go. If you are confident that you will get a lot of return visitors then just whitespace and comment removal may be sufficient. Like a lot of things this is a judgement call.</p>
<p>The next version of packer will provide variable/argument substitution for a higher compression rate and proper obfuscation. This also makes the minified (whitepaces stripped) version much smaller too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ethan</title>
		<link>http://www.clientcide.com/best-practices/optimization/dean-edwards-packer-compression-tool/comment-page-1/#comment-52</link>
		<dc:creator>Ethan</dc:creator>
		<pubDate>Thu, 26 Oct 2006 19:47:02 +0000</pubDate>
		<guid isPermaLink="false">http://clientside.cnet.com/best-practices/optimization/dean-edwards-packer-compression-tool/#comment-52</guid>
		<description>First off, nice freaking work on the mootools docs!  I came across them earlier today, and was impressed.  Congrats.

But onto the topic at hand.  I too fear the eval that is at the start of all &#039;packed&#039; code.  It makes things small, but there&#039;s a lot for it to eval.  Personally I&#039;m a fan of the whitespace stripper, it&#039;s less for their browsers to load, but it&#039;s not executed every time they load the page.  And page responsivenness, especially with dom stuff, is not a minor issue.</description>
		<content:encoded><![CDATA[<p>First off, nice freaking work on the mootools docs!  I came across them earlier today, and was impressed.  Congrats.</p>
<p>But onto the topic at hand.  I too fear the eval that is at the start of all &#8216;packed&#8217; code.  It makes things small, but there&#8217;s a lot for it to eval.  Personally I&#8217;m a fan of the whitespace stripper, it&#8217;s less for their browsers to load, but it&#8217;s not executed every time they load the page.  And page responsivenness, especially with dom stuff, is not a minor issue.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
