<?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: Maximizing Performance with Compression and Combination</title>
	<atom:link href="http://ajaxian.com/archives/maximizing-performance-with-compression-and-combination/feed" rel="self" type="application/rss+xml" />
	<link>http://ajaxian.com/archives/maximizing-performance-with-compression-and-combination</link>
	<description>Cleaning up the web with Ajax</description>
	<lastBuildDate>Thu, 09 Feb 2012 06:55:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
	<item>
		<title>By: hat27533</title>
		<link>http://ajaxian.com/archives/maximizing-performance-with-compression-and-combination/comment-page-1#comment-265365</link>
		<dc:creator>hat27533</dc:creator>
		<pubDate>Tue, 24 Jun 2008 19:10:46 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1946#comment-265365</guid>
		<description>So you want automated compressed JS/CSS files in your builds check out my blog http://nnbs.blogspot.com/ its simple to achieve.</description>
		<content:encoded><![CDATA[<p>So you want automated compressed JS/CSS files in your builds check out my blog <a href="http://nnbs.blogspot.com/" rel="nofollow">http://nnbs.blogspot.com/</a> its simple to achieve.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frederick Townes</title>
		<link>http://ajaxian.com/archives/maximizing-performance-with-compression-and-combination/comment-page-1#comment-245502</link>
		<dc:creator>Frederick Townes</dc:creator>
		<pubDate>Fri, 22 Dec 2006 13:25:00 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1946#comment-245502</guid>
		<description>Great Post Dion, these techniques are tried and true. And Kae thanks for that input as well - very valuable. I&#039;ve been dynamically building CSS and JS files for some time, but now I&#039;m getting more into the benefits of caching and more often than not, unless the JS deals with navigational functionality I always opt to use external files - since most of our sites are going for multiple page views during a session. Sometimes we use a combination of PHP and mod_rewrite to achieve the caching effects we&#039;re going for.</description>
		<content:encoded><![CDATA[<p>Great Post Dion, these techniques are tried and true. And Kae thanks for that input as well &#8211; very valuable. I&#8217;ve been dynamically building CSS and JS files for some time, but now I&#8217;m getting more into the benefits of caching and more often than not, unless the JS deals with navigational functionality I always opt to use external files &#8211; since most of our sites are going for multiple page views during a session. Sometimes we use a combination of PHP and mod_rewrite to achieve the caching effects we&#8217;re going for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex Russell</title>
		<link>http://ajaxian.com/archives/maximizing-performance-with-compression-and-combination/comment-page-1#comment-245486</link>
		<dc:creator>Alex Russell</dc:creator>
		<pubDate>Thu, 21 Dec 2006 20:42:23 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1946#comment-245486</guid>
		<description>Anjan,

If you&#039;re using Dojo, just make a custom build. It combines all your code into a single file and doesn&#039;t require that you change the way you include it in your page (unlike all of these other methods). As for compression, there are servelet filters, or if you really care about performance, host these (mostly) static resources on a separate server/port/domain with an HTTP server that&#039;s got gzipping built in (mod_deflate with disk caching should do what you need).

Regards</description>
		<content:encoded><![CDATA[<p>Anjan,</p>
<p>If you&#8217;re using Dojo, just make a custom build. It combines all your code into a single file and doesn&#8217;t require that you change the way you include it in your page (unlike all of these other methods). As for compression, there are servelet filters, or if you really care about performance, host these (mostly) static resources on a separate server/port/domain with an HTTP server that&#8217;s got gzipping built in (mod_deflate with disk caching should do what you need).</p>
<p>Regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alastair James</title>
		<link>http://ajaxian.com/archives/maximizing-performance-with-compression-and-combination/comment-page-1#comment-245453</link>
		<dc:creator>Alastair James</dc:creator>
		<pubDate>Wed, 20 Dec 2006 23:47:29 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1946#comment-245453</guid>
		<description>We have been using this technique at www.mapsack.com. One big advantage is that it is possible to version each &#039;build&#039; of the combined javascript, thus stopping any browser caching issues. Basically, every time our combined JS files changed, their version number gets incremented, i.e. comb/explore-23.js. We automatically update the pages to request the most up to date version, therefore when a change is made, all clients will download the new version (as the filename is different).</description>
		<content:encoded><![CDATA[<p>We have been using this technique at <a href="http://www.mapsack.com" rel="nofollow">http://www.mapsack.com</a>. One big advantage is that it is possible to version each &#8216;build&#8217; of the combined javascript, thus stopping any browser caching issues. Basically, every time our combined JS files changed, their version number gets incremented, i.e. comb/explore-23.js. We automatically update the pages to request the most up to date version, therefore when a change is made, all clients will download the new version (as the filename is different).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anjan bacchu</title>
		<link>http://ajaxian.com/archives/maximizing-performance-with-compression-and-combination/comment-page-1#comment-245449</link>
		<dc:creator>anjan bacchu</dc:creator>
		<pubDate>Wed, 20 Dec 2006 20:41:57 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1946#comment-245449</guid>
		<description>hi there,

  great!

  Is there a way(tool/script/task) to do it automatically in the java world where most of us use ant?  It will be nice if someone can demonstrate it for the Petstore application. I wish sun takes an initiative in this so that a lot of Java developers can incorporate this in their process. It will be a bonus if eclipse and netbeans have a tookit for the web development modules to automatically enable this.

Thank you,

BR,
~A</description>
		<content:encoded><![CDATA[<p>hi there,</p>
<p>  great!</p>
<p>  Is there a way(tool/script/task) to do it automatically in the java world where most of us use ant?  It will be nice if someone can demonstrate it for the Petstore application. I wish sun takes an initiative in this so that a lot of Java developers can incorporate this in their process. It will be a bonus if eclipse and netbeans have a tookit for the web development modules to automatically enable this.</p>
<p>Thank you,</p>
<p>BR,<br />
~A</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ulises Enrico</title>
		<link>http://ajaxian.com/archives/maximizing-performance-with-compression-and-combination/comment-page-1#comment-245445</link>
		<dc:creator>Ulises Enrico</dc:creator>
		<pubDate>Wed, 20 Dec 2006 20:33:43 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1946#comment-245445</guid>
		<description>hi, im from argentina. In our company we have serious problems with website performance, our app have 500kb of JS, a lot of CSS and images. One of my task was find the way to improve performance, so we did that,
with javascript files:
1Âº join all js into one file
2Âº use custom_rhino.jar to compress de js (no comments, rename with shorter names functions, vars, etc)
3Âº delete all \n and \r (one line file)

with css files:
1Âº join all css files into one
2Âº remove comments and \n \r

with images we use only 1 file for all images, all images are joined in one file, and with use css position to use it in app

and all that data its cached, and send it compressed to the browser (http 1.1)

we obtained an excellent improve doing that.
bye</description>
		<content:encoded><![CDATA[<p>hi, im from argentina. In our company we have serious problems with website performance, our app have 500kb of JS, a lot of CSS and images. One of my task was find the way to improve performance, so we did that,<br />
with javascript files:<br />
1Âº join all js into one file<br />
2Âº use custom_rhino.jar to compress de js (no comments, rename with shorter names functions, vars, etc)<br />
3Âº delete all \n and \r (one line file)</p>
<p>with css files:<br />
1Âº join all css files into one<br />
2Âº remove comments and \n \r</p>
<p>with images we use only 1 file for all images, all images are joined in one file, and with use css position to use it in app</p>
<p>and all that data its cached, and send it compressed to the browser (http 1.1)</p>
<p>we obtained an excellent improve doing that.<br />
bye</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikhail</title>
		<link>http://ajaxian.com/archives/maximizing-performance-with-compression-and-combination/comment-page-1#comment-245437</link>
		<dc:creator>Mikhail</dc:creator>
		<pubDate>Wed, 20 Dec 2006 18:04:57 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1946#comment-245437</guid>
		<description>I use the compression of CSS/JS stuff myself, though it happens that I have several files to load. Does that PHP script know which file to load in what sequence? :)</description>
		<content:encoded><![CDATA[<p>I use the compression of CSS/JS stuff myself, though it happens that I have several files to load. Does that PHP script know which file to load in what sequence? :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Davis</title>
		<link>http://ajaxian.com/archives/maximizing-performance-with-compression-and-combination/comment-page-1#comment-245436</link>
		<dc:creator>David Davis</dc:creator>
		<pubDate>Wed, 20 Dec 2006 18:04:31 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1946#comment-245436</guid>
		<description>We&#039;ve been doing this on vox from the beginning.  It works pretty well.  We also use another technique to bootstrap the javascript before the page finishes loading.  Ads and images don&#039;t slow us down.  :)</description>
		<content:encoded><![CDATA[<p>We&#8217;ve been doing this on vox from the beginning.  It works pretty well.  We also use another technique to bootstrap the javascript before the page finishes loading.  Ads and images don&#8217;t slow us down.  :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric Miraglia</title>
		<link>http://ajaxian.com/archives/maximizing-performance-with-compression-and-combination/comment-page-1#comment-245423</link>
		<dc:creator>Eric Miraglia</dc:creator>
		<pubDate>Wed, 20 Dec 2006 15:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1946#comment-245423</guid>
		<description>See also &lt;a href=&quot;http://www.ejeliot.com/blog/72&quot; rel=&quot;nofollow&quot;&gt;Ed Eliot&#039;s excellent PHP-based js/css combinator script&lt;/a&gt;, which is now inclusive of &lt;a href=&quot;http://www.crockford.com/javascript/jsmin.html&quot; rel=&quot;nofollow&quot;&gt;JSMin&lt;/a&gt;.  The overall approach here is very consistent with what we&#039;re advocating &lt;a href=&quot;http://yuiblog.com/blog/2006/11/28/performance-research-part-1/&quot; rel=&quot;nofollow&quot;&gt;at Yahoo&lt;/a&gt; and &lt;a href=&quot;http://yuiblog.com/blog/2006/10/16/pageweight-yui0114/&quot; rel=&quot;nofollow&quot;&gt;with YUI&lt;/a&gt; -- but Dion, your point is an interesting one about the challenges of determining a logical caching strategy that leverages modular, reused css/js chunks and relies on them being downloaded only on the first use.  Modularity and aggregation/concatenation seem irreconcilable in many implementations.</description>
		<content:encoded><![CDATA[<p>See also <a href="http://www.ejeliot.com/blog/72" rel="nofollow">Ed Eliot&#8217;s excellent PHP-based js/css combinator script</a>, which is now inclusive of <a href="http://www.crockford.com/javascript/jsmin.html" rel="nofollow">JSMin</a>.  The overall approach here is very consistent with what we&#8217;re advocating <a href="http://yuiblog.com/blog/2006/11/28/performance-research-part-1/" rel="nofollow">at Yahoo</a> and <a href="http://yuiblog.com/blog/2006/10/16/pageweight-yui0114/" rel="nofollow">with YUI</a> &#8212; but Dion, your point is an interesting one about the challenges of determining a logical caching strategy that leverages modular, reused css/js chunks and relies on them being downloaded only on the first use.  Modularity and aggregation/concatenation seem irreconcilable in many implementations.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Breen</title>
		<link>http://ajaxian.com/archives/maximizing-performance-with-compression-and-combination/comment-page-1#comment-245417</link>
		<dc:creator>Ryan Breen</dc:creator>
		<pubDate>Wed, 20 Dec 2006 14:01:45 +0000</pubDate>
		<guid isPermaLink="false">http://ajaxian.com/?p=1946#comment-245417</guid>
		<description>Yeah, that&#039;s a great tip.  JavaScript source file loads are a serious bottleneck in the browser because they are handled serially, so anything that increases the performance of JavaScript is a huge win.</description>
		<content:encoded><![CDATA[<p>Yeah, that&#8217;s a great tip.  JavaScript source file loads are a serious bottleneck in the browser because they are handled serially, so anything that increases the performance of JavaScript is a huge win.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

