<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Newest Industry &#187; compressing</title>
	<atom:link href="http://newestindustry.org/tag/compressing/feed/" rel="self" type="application/rss+xml" />
	<link>http://newestindustry.org</link>
	<description>Web Performance, Branding, and Social Media</description>
	<lastBuildDate>Sat, 20 Mar 2010 18:36:08 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<atom:link rel='hub' href='http://newestindustry.org/?pushpress=hub'/>
<cloud domain='newestindustry.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
		<item>
		<title>Performance Improvement From Compression</title>
		<link>http://newestindustry.org/2006/10/03/performance-improvement-from-compression-2/</link>
		<comments>http://newestindustry.org/2006/10/03/performance-improvement-from-compression-2/#comments</comments>
		<pubDate>Tue, 03 Oct 2006 16:57:04 +0000</pubDate>
		<dc:creator>smp</dc:creator>
				<category><![CDATA[Web Performance]]></category>
		<category><![CDATA[WebPerformance.Org]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[caching]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[compressing]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[deflate]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[LAN]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[loaded server]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[SCSI]]></category>
		<category><![CDATA[Web server]]></category>
		<category><![CDATA[Web server administrators]]></category>

		<guid isPermaLink="false">http://crazycanuck.wordpress.com/2006/10/03/performance-improvement-from-compression-2/</guid>
		<description><![CDATA[
			
				
			
		
How much improvement can you see with compression? The difference in measured download times on a very lightly loaded server indicates that the time to download the Base Page (the initial HTML file) improved by between 1.3 and 1.6 seconds across a very slow connection when compression was used.

Base Page Performance
There is a slightly slower [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F&amp;source=spierzchala&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>How much improvement can you see with compression? The difference in measured download times on a very lightly loaded server indicates that the time to download the Base Page (the initial HTML file) improved by between 1.3 and 1.6 seconds across a very slow connection when compression was used.</p>
<p class="big" align="center"><img src="http://static.flickr.com/96/259892146_b27b02160b_m.jpg" alt="Base Page Performance" /><br />
Base Page Performance</p>
<p>There is a slightly slower time for the server to respond to a client requesting a compressed page. Measurements show that the median response time for the server averaged 0.23 seconds for the uncompressed page and 0.27 seconds for the compressed page. However, most Web server administrators should be willing to accept a 0.04 increase in response time to achieve a 1.5 second improvement in file transfer time.</p>
<p class="big" align="center"><img src="http://static.flickr.com/83/259892150_ba7bbff76d_m.jpg" alt="First Byte Performance" /><br />
First Byte Performance</p>
<p>Web pages are not completely HTML. How do improved HTML (and CSS) download times affect overall performance? The graph below shows that overall download times for the test page were 1 to 1.5 seconds better when the HTML files were compressed.</p>
<p class="big" align="center"><img src="http://static.flickr.com/113/259892136_a33e90a140_m.jpg" alt="Total Page Performance" /><br />
Total Page Performance</p>
<p>To further emphasize the value of compression, I ran a test on a Web server to see what the average compression ratio would be when requesting a very large number of files. As well, I wanted to determine what the affect on server response time would be when requesting large numbers of compressed files simultaneously. There were 1952 HTML files in the test directory and I checked the results using CURL across my local LAN.<a class="light" href="#1">[1]</a></p>
<hr />
<p class="marg20">
<h3>Large sample of File Requests (1952 HTML Files)</h3>
<h3>mod_gzip</h3>
<table border="1">
<tbody>
<tr>
<td></td>
<td></td>
<td><strong>Uncompressed</strong></td>
<td><strong>Compressed</strong></td>
</tr>
<tr>
<td><strong>First Byte</strong></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Mean</td>
<td>0.091</td>
<td>0.084</td>
</tr>
<tr>
<td></td>
<td>Median</td>
<td>0.030</td>
<td>0.036</td>
</tr>
<tr>
<td><strong>Total Time</strong></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Mean</td>
<td>0.280</td>
<td>0.128</td>
</tr>
<tr>
<td></td>
<td>Median</td>
<td>0.173</td>
<td>0.079</td>
</tr>
<tr>
<td><strong>Bytes per Page</strong></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Mean</td>
<td>6349</td>
<td>2416</td>
</tr>
<tr>
<td></td>
<td>Median</td>
<td>3750</td>
<td>1543</td>
</tr>
<tr>
<td><strong>Total Bytes</strong></td>
<td></td>
<td>12392318</td>
<td>4716160</td>
</tr>
</tbody>
</table>
<h3>mod_deflate<a class="light" href="#2">[2]</a></h3>
<table border="1">
<tbody>
<tr>
<td></td>
<td></td>
<td><strong>Uncompressed</strong></td>
<td><strong>Compressed</strong></td>
</tr>
<tr>
<td><strong>First Byte</strong></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Mean</td>
<td>0.044</td>
<td>0.046</td>
</tr>
<tr>
<td></td>
<td>Median</td>
<td>0.028</td>
<td>0.031</td>
</tr>
<tr>
<td><strong>Total Time</strong></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Mean</td>
<td>0.241</td>
<td>0.107</td>
</tr>
<tr>
<td></td>
<td>Median</td>
<td>0.169</td>
<td>0.050</td>
</tr>
<tr>
<td><strong>Bytes per Page</strong></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<td></td>
<td>Mean</td>
<td>6349</td>
<td>2418</td>
</tr>
<tr>
<td></td>
<td>Median</td>
<td>3750</td>
<td>1544</td>
</tr>
<tr>
<td><strong>Total Bytes</strong></td>
<td></td>
<td>12392318</td>
<td>4720735</td>
</tr>
</tbody>
</table>
<table border="1">
<tbody>
<tr>
<td></td>
<td><strong>mod_gzip</strong></td>
<td><strong>mod_deflate</strong></td>
</tr>
<tr>
<td><strong>Average Compression</strong></td>
<td>0.433</td>
<td>0.438</td>
</tr>
<tr>
<td><strong>Median Compression</strong></td>
<td>0.427</td>
<td>0.427</td>
</tr>
</tbody>
</table>
<hr />As expected, the First Byte download time was slightly higher with the compressed files than it was with the uncompressed files. But this difference was in milliseconds, and is hardly worth mentioning in terms of on-the-fly compression. It is unlikely that any user, especially dial-up users, would notice this difference in performance.That the delivered data was transformed to 43% of the original file size should make any Web administrator sit up and notice. The compression ratio for the test files ranged from no compression for files that were less than 300 bytes, to 15% of original file size for two of the Linux SCSI Programming HOWTOs. Compression ratios do not increase in a linear fashion when compared to file size; rather, compression depends heaviliy on the repetition of content within a file to gain its greatest successes. The SCSI Programming HOWTOs have a great deal of repeated characters, making them ideal candidates for extreme compression.Smaller files also did not compress as well as larger files, exactly for this reason. Fewer bytes means a lower probability of repeated bytes, resulting in a lower compression ratio.</p>
<hr />
<p class="marg20">
<table border="1" align="center">
<tbody>
<tr>
<td>
<p class="big">Average Compression by File Size</p>
<table border="1">
<tbody>
<tr>
<td></td>
<td><strong>mod_gzip</strong></td>
<td><strong>mod_deflate</strong></td>
</tr>
<tr>
<td><strong>0-999</strong></td>
<td>0.713</td>
<td>0.777<a class="light" href="#3">[3]</a></td>
</tr>
<tr>
<td><strong>1000-4999</strong></td>
<td>0.440</td>
<td>0.440</td>
</tr>
<tr>
<td><strong>5000-9999</strong></td>
<td>0.389</td>
<td>0.389</td>
</tr>
<tr>
<td><strong>10000-19999</strong></td>
<td>0.369</td>
<td>0.369</td>
</tr>
<tr>
<td><strong>20000-49999</strong></td>
<td>0.350</td>
<td>0.350</td>
</tr>
<tr>
<td><strong>50000 and up</strong></td>
<td>0.329</td>
<td>0.331</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
<hr />The data shows that compression works best on files larger than 5000 bytes; after that size, average compression gains are smaller, unless a file has a large number of repeated characters. Some people argue that compressing files below a certain size is a wasteful use of CPU cycles. If you agree with these folks, using the 5000 byte value as floor value for compressing files should be a good starting point. I am of the opposite mindset: I compress everything that comes off my servers because I consider myself an HTTP overclocker, trying to squeeze every last bit of download performance out of the network.</p>
<h2>Conclusion</h2>
<p>With a few simple commands, and a little bit of configuration, an Apache Web server can be configured to deliver a large amount of content in a compressed format. These benefits are not simply limited to static pages; dynamic pages generated by PHP and other dynamic content generators can be compressed by using the Apache compression modules. When added other performance tuning mechanisms and appropriate server-side caching rules, these modules can substantially reduce the bandwidth for a very low cost.</p>
<hr />
<p class="smaller"><a title="1" name="1"></a>[1] The files were the top level HTML files from the Linux Documentation Project. They were installed on an Apache 1.3.27 server running mod_gzip and an Apache 2.0.44 server using mod_deflate. Minimum file size was 80 bytes and maximum file size was 99419 bytes.</p>
<p class="smaller"><a title="2" name="2"></a>[2] mod_deflate for Apache/2.0.44 and earlier comes with the compression ratio set for Best Speed, not Best Compression. This configuration can be modified using the tips found <a class="light" href="/compression/mod_deflate-hack.html">here</a>; and starting with Apache/2.0.45, there will be a configuration directive that will allow admins to configure the compression ratio that they want.</p>
<p>In this example, the compression ratio was set to Level 6.</p>
<p class="smaller"><a title="3" name="3"></a>[3] mod_deflate does not have a lower bound for file size, so it attempts to compress files that are too small to benefit from compression. This results in files smaller than approximately 120 bytes becoming larger when processed by mod_deflate.</p>



Spread the Love:


	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F&amp;t=Performance%20Improvement%20From%20Compression" title="Facebook"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Performance%20Improvement%20From%20Compression%20-%20http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F" title="Twitter"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F&amp;title=Performance%20Improvement%20From%20Compression&amp;body=How%20much%20improvement%20can%20you%20see%20with%20compression%3F%20The%20difference%20in%20measured%20download%20times%20on%20a%20very%20lightly%20loaded%20server%20indicates%20that%20the%20time%20to%20download%20the%20Base%20Page%20%28the%20initial%20HTML%20file%29%20improved%20by%20between%201.3%20and%201.6%20seconds%20across%20a%20ve" title="Ping.fm"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F&amp;title=Performance%20Improvement%20From%20Compression&amp;bodytext=How%20much%20improvement%20can%20you%20see%20with%20compression%3F%20The%20difference%20in%20measured%20download%20times%20on%20a%20very%20lightly%20loaded%20server%20indicates%20that%20the%20time%20to%20download%20the%20Base%20Page%20%28the%20initial%20HTML%20file%29%20improved%20by%20between%201.3%20and%201.6%20seconds%20across%20a%20ve" title="Digg"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F&amp;title=Performance%20Improvement%20From%20Compression" title="StumbleUpon"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F&amp;title=Performance%20Improvement%20From%20Compression&amp;source=Newest+Industry+Web+Performance%2C+Branding%2C+and+Social+Media&amp;summary=How%20much%20improvement%20can%20you%20see%20with%20compression%3F%20The%20difference%20in%20measured%20download%20times%20on%20a%20very%20lightly%20loaded%20server%20indicates%20that%20the%20time%20to%20download%20the%20Base%20Page%20%28the%20initial%20HTML%20file%29%20improved%20by%20between%201.3%20and%201.6%20seconds%20across%20a%20ve" title="LinkedIn"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F&amp;title=Performance%20Improvement%20From%20Compression" title="Reddit"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Performance%20Improvement%20From%20Compression&amp;url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F" title="Slashdot"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F&amp;title=Performance%20Improvement%20From%20Compression&amp;popup=no" title="Netvouz"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F" title="Identi.ca"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F" title="Technorati"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F&amp;title=Performance%20Improvement%20From%20Compression&amp;notes=How%20much%20improvement%20can%20you%20see%20with%20compression%3F%20The%20difference%20in%20measured%20download%20times%20on%20a%20very%20lightly%20loaded%20server%20indicates%20that%20the%20time%20to%20download%20the%20Base%20Page%20%28the%20initial%20HTML%20file%29%20improved%20by%20between%201.3%20and%201.6%20seconds%20across%20a%20ve" title="del.icio.us"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Performance%20Improvement%20From%20Compression&amp;body=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fperformance-improvement-from-compression-2%2F" title="email"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://newestindustry.org/2006/10/03/performance-improvement-from-compression-2/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Compressing PHP Output</title>
		<link>http://newestindustry.org/2006/10/03/compressing-php-output/</link>
		<comments>http://newestindustry.org/2006/10/03/compressing-php-output/#comments</comments>
		<pubDate>Tue, 03 Oct 2006 16:20:53 +0000</pubDate>
		<dc:creator>smp</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[The Web]]></category>
		<category><![CDATA[Web Performance]]></category>
		<category><![CDATA[WebPerformance.Org]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[ASP]]></category>
		<category><![CDATA[browser capture tool]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[compressing]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[compression algorithm]]></category>
		<category><![CDATA[Fiddler2]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[overhead and processing time]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Safari Web Inspector]]></category>
		<category><![CDATA[tiny bit more server]]></category>
		<category><![CDATA[USD]]></category>
		<category><![CDATA[web application]]></category>
		<category><![CDATA[Web server]]></category>
		<category><![CDATA[Web servers]]></category>

		<guid isPermaLink="false">http://crazycanuck.wordpress.com/2006/10/03/compressing-php-output/</guid>
		<description><![CDATA[
			
				
			
		
A little-used or discussed feature of PHP is the ability to compress output from the scripts using GZIP for more efficient transfer to requesting clients. By automatically detecting the ability of the requesting clients to accept and interpret GZIP encoded HTML, PHP4 can decrease the size of files transferred to the client by 60% to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F&amp;source=spierzchala&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a title="PHPã‚«ãƒ³ãƒ•ã‚¡ãƒ¬ãƒ³ã‚¹2008" href="http://flickr.com/photos/73344268@N00/2706590653"><img style="float:left;padding:4px;" src="http://farm3.static.flickr.com/2123/2706590653_af311903c1_t.jpg" alt="" /></a>A little-used or discussed feature of <strong>PHP</strong> is the ability to compress output from the scripts using GZIP for more efficient transfer to requesting clients. By automatically detecting the ability of the requesting clients to accept and interpret GZIP encoded HTML, PHP4 can decrease the size of files transferred to the client by 60% to 80%.</p>
<p>The information given here is known to work on systems running <strong>Red Hat 8.0</strong>, <strong>Apache/1.3.27</strong>, <strong>Apache/2.0.44</strong> and <strong>PHP/4.3.1</strong>.</p>
<p><strong>[Note: Although not re-tested since this article was originally written, compression is still present in the PHP 5.x releases and can be used to effectively compress content on shared or hosted servers where compression is not enabled within the Web server.]</strong></p>
<h4 class="big">Configuring PHP</h4>
<p>The configuration needed to make this work is simple. Check your installed Red Hat RPMS for the following two packages:</p>
<ol>
<li>zlib</li>
<li>zlib-devel</li>
</ol>
<p>For those not familiar with zlib, it is a highly efficient, open-source compression library. This library is used by PHP uses to compress the output sent to the client.</p>
<p>Compile PHP4 with your favourite <em>./configure</em> statement. I use the following:</p>
<p class="pre" align="center"><strong>Apache/1.3.27</strong><br />
<em>./configure &#8211;without-mysql &#8211;with-apxs=/usr/local/apache/bin/apxs &#8211;with-zlib</em></p>
<p class="pre" align="center"><strong>Apache/2.0.44</strong><br />
<em>./configure &#8211;without-mysql &#8211;with-apxs2=/usr/local/apache2/bin/apxs &#8211;with-zlib</em></p>
<p>After doing <em>make &amp;&amp; make install</em>, PHP4 should be ready to go as a dynamic Apache module. Now, you have to make some modifications to the <strong>php.ini</strong> file. This is usually found in  <strong>/usr/local/lib</strong>, but if it&#8217;s not there, don&#8217;t panic; you will find some <strong>php.ini*</strong> files in the directory where you unpacked PHP4. Simply copy one of those to <strong>/usr/local/lib</strong> and rename it <strong>php.ini</strong>.</p>
<p>Within <strong>php.ini</strong>, some modifications need to be made to switch on the GZIP compression detection and encoding. There are two methods to do this.</p>
<p class="marg30">
<hr />
<p class="pre-bold">Method 1:</p>
<p class="pre">output_buffering = On<br />
output_handler = ob_gzhandler<br />
zlib.output_compression = Off</p>
<hr />
<p class="pre-bold">Method 2:</p>
<p class="pre">output_buffering = Off<br />
output_handler =<br />
zlib.output_compression = On</p>
<hr />Once this is done, PHP4 will automatically detect if the requesting client accepts GZIP encoding, and will then buffer the output through the gzhandler function to dynamically compress the data sent to the client.</p>
<h4>The ob_gzhandler</h4>
<p>The most important component of this entire process is placing the <em>ob_gzhandler</em> PHP command on the page itself. It needs to be placed in the code at the top of the page, above the <strong>HTML</strong> tag in order to work. It takes the addition of the following line to complete the process:</p>
<pre style="padding-left: 30px;">&lt;?php ob_start("ob_gzhandler"); ?&gt;</pre>
<p>In Wordpress installs, this becomes the first line in the <strong>HEADER.PHP</strong> file. But be careful to check that it&#8217;s working properly. If the Web application has the compression function built into it, and you add the ob_gzhandler function, a funky error message will appear at the top of the page telling you that your can&#8217;t invoke compression twice.</p>
<p>Web servers with native compression are smarter than that &#8211; they realize that the file is already compressed and don&#8217;t run it through the compression algorithm again.</p>
<p>Once this is in place, you will be able to verify the decrease in size using any HTTP browser capture tool (Firebug, Safari Web Inspector, Fiddler2, etc.)</p>
<h4 class="big">So?</h4>
<p>The winning situation here is that for an expenditure of $0 (except your time) and a tiny bit more server overhead (you&#8217;re probably still using fewer resources than if you were running ASP on IIS!), you will now be sending much smaller, dynamically generated html documents to your clients, reducing your bandwidth usage and the amount of time it takes to download the files.</p>
<p>How much of a size reduction is achieved? Well, I ran a test on my Web server, using <strong>WGET</strong> to retrieve the file. The configuration and results of the test are listed below.</p>
<p class="marg5">
<table border="1" align="center">
<tbody>
<tr>
<td width="70%" align="left" valign="top"><strong>Method 0: No Compression</strong><br />
wget www.pierzchala.com/resume.php</td>
<td width="30%" align="right" valign="middle"><strong>File Size: 9415 bytes</strong></td>
</tr>
<tr>
<td width="70%" align="left" valign="top"><strong>Method 1: ob_gzhandler</strong><br />
wget &#8211;header=&#8221;Accept-Encoding: gzip,*&#8221; www.pierzchala.com/resume.php</td>
<td width="30%" align="right" valign="middle"><strong>File Size: 3529 bytes</strong></td>
</tr>
<tr>
<td width="70%" align="left" valign="top"><strong>Method 2: zlib.output_compression</strong><br />
wget &#8211;header=&#8221;Accept-Encoding: gzip,*&#8221; www.pierzchala.com/resume.php</td>
<td width="30%" align="right" valign="middle"><strong>File Size: 3584 bytes</strong></td>
</tr>
</tbody>
</table>
<p>You will have to experiment with the method that give the most efficient balance between file size and overhead and processing time on your server.</p>
<p>A 62% reduction in transferred file size without affecting the quality of the data sent to the client is a pretty good return for 10 minutes of work. I recommend including this procedure in all of your future PHP4 builds.</p>



Spread the Love:


	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F&amp;t=Compressing%20PHP%20Output" title="Facebook"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Compressing%20PHP%20Output%20-%20http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F" title="Twitter"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F&amp;title=Compressing%20PHP%20Output&amp;body=A%20little-used%20or%20discussed%20feature%20of%20PHP%20is%20the%20ability%20to%20compress%20output%20from%20the%20scripts%20using%20GZIP%20for%20more%20efficient%20transfer%20to%20requesting%20clients.%20By%20automatically%20detecting%20the%20ability%20of%20the%20requesting%20clients%20to%20accept%20and%20interpret%20GZIP%20e" title="Ping.fm"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F&amp;title=Compressing%20PHP%20Output&amp;bodytext=A%20little-used%20or%20discussed%20feature%20of%20PHP%20is%20the%20ability%20to%20compress%20output%20from%20the%20scripts%20using%20GZIP%20for%20more%20efficient%20transfer%20to%20requesting%20clients.%20By%20automatically%20detecting%20the%20ability%20of%20the%20requesting%20clients%20to%20accept%20and%20interpret%20GZIP%20e" title="Digg"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F&amp;title=Compressing%20PHP%20Output" title="StumbleUpon"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F&amp;title=Compressing%20PHP%20Output&amp;source=Newest+Industry+Web+Performance%2C+Branding%2C+and+Social+Media&amp;summary=A%20little-used%20or%20discussed%20feature%20of%20PHP%20is%20the%20ability%20to%20compress%20output%20from%20the%20scripts%20using%20GZIP%20for%20more%20efficient%20transfer%20to%20requesting%20clients.%20By%20automatically%20detecting%20the%20ability%20of%20the%20requesting%20clients%20to%20accept%20and%20interpret%20GZIP%20e" title="LinkedIn"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F&amp;title=Compressing%20PHP%20Output" title="Reddit"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Compressing%20PHP%20Output&amp;url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F" title="Slashdot"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F&amp;title=Compressing%20PHP%20Output&amp;popup=no" title="Netvouz"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F" title="Identi.ca"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F" title="Technorati"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F&amp;title=Compressing%20PHP%20Output&amp;notes=A%20little-used%20or%20discussed%20feature%20of%20PHP%20is%20the%20ability%20to%20compress%20output%20from%20the%20scripts%20using%20GZIP%20for%20more%20efficient%20transfer%20to%20requesting%20clients.%20By%20automatically%20detecting%20the%20ability%20of%20the%20requesting%20clients%20to%20accept%20and%20interpret%20GZIP%20e" title="del.icio.us"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Compressing%20PHP%20Output&amp;body=http%3A%2F%2Fnewestindustry.org%2F2006%2F10%2F03%2Fcompressing-php-output%2F" title="email"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://newestindustry.org/2006/10/03/compressing-php-output/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>More on Technorati Performance Woes</title>
		<link>http://newestindustry.org/2005/07/11/more-on-technorati-performance-woes/</link>
		<comments>http://newestindustry.org/2005/07/11/more-on-technorati-performance-woes/#comments</comments>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<dc:creator>smp</dc:creator>
				<category><![CDATA[GrabPERF]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cache-control]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[client-side]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[compressing]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[deflate]]></category>
		<category><![CDATA[EAD]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IM]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[LAN]]></category>
		<category><![CDATA[maintain]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[mod_gzip]]></category>
		<category><![CDATA[Om]]></category>
		<category><![CDATA[One]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[persistent]]></category>
		<category><![CDATA[persistent connections]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[pr]]></category>
		<category><![CDATA[run]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Technorati]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Web Performance]]></category>
		<category><![CDATA[Web+performance]]></category>

		<guid isPermaLink="false">http://crazycanuck.wordpress.com/2005/07/11/more-on-technorati-performance-woes/</guid>
		<description><![CDATA[
			
				
			
		
Ok, one of the tests that the GrabPERF System is running is doing a simple search on the Technorati site.

Ouch.
Now, as I mentioned before, Technorati has some interesting things going on in their www servers. For the Web geeks out there, here is what their headers look like.
HTTP/1.0 200 OK
Date: Mon, 11 Jul 2005 16:15:47 [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F&amp;source=spierzchala&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Ok, one of the tests that the GrabPERF System is running is doing a simple search on the Technorati site.</p>
<div align="center"><a href="http://www.newestindustry.org/media/technorati-jul112005.png" target="_blank"><img src="http://www.newestindustry.org/media/technorati-jul112005.png" border="0" alt="" height="300" width="600" /></a></div>
<p>Ouch.</p>
<p>Now, as I mentioned <a href="http://www.newestindustry.org/index.php/2005/07/08/dear_technorati">before</a>, Technorati has some interesting things going on in their www servers. For the Web geeks out there, here is what their headers look like.</p>
<blockquote><pre>HTTP/1.0 200 OK
Date: Mon, 11 Jul 2005 16:15:47 GMT
Server: Apache
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
X-Powered-By: PHP/4.3.11
Set-Cookie: TECHNORATI_MEMBER=deleted; \
                   expires=Sun, 11 Jul 2004 16:15:46 GMT; path=/
Set-Cookie: TECHNORATI_MEMBER=[blah-blah]; \
                   expires=Wed, 12 Oct 2005 16:15:47 GMT; path=/; \
                   domain=technorati.com
Pragma: no-cache
Content-Type: text/html; charset=UTF-8
Connection: close</pre>
</blockquote>
<p>The <em>Cache-Control</em> header I can understand. The <em>Pragma: no-cache</em> is basically useless, as the Pragma header is only considered as a valid client-side header.</p>
<p>But the use of HTTP/1.0 and the explicit <em>Connection: close</em> really bother me. Removing the ability for clients to maintain persistent connections is a Network and Server resource issue, and should be avoided at all costs.</p>
<p>And where&#8217;s the compression? There is no need to send raw content to clients that understand and can process compressing text content. Using either hardware or mod_gzip or mod_deflate, the size of transferred content can be very easily reduced.</p>
<p>Sorry for the rant, but I seem to be on a Web performance kick lately. And the team at Technorati is one that I would expect to have gotten the need for this Web performance thing.</p>
<hr />
<p>Technorati: <a href="http://technorati.com/tag/web+performance" rel="tag">web performance</a>, <a href="http://technorati.com/tag/HTTP" rel="tag">HTTP</a>, <a href="http://technorati.com/tag/Technorati" rel="tag">Technorati</a></p>



Spread the Love:


	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F&amp;t=More%20on%20Technorati%20Performance%20Woes" title="Facebook"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=More%20on%20Technorati%20Performance%20Woes%20-%20http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F" title="Twitter"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F&amp;title=More%20on%20Technorati%20Performance%20Woes&amp;body=Ok%2C%20one%20of%20the%20tests%20that%20the%20GrabPERF%20System%20is%20running%20is%20doing%20a%20simple%20search%20on%20the%20Technorati%20site.%0A%0A%0A%0AOuch.%0A%0ANow%2C%20as%20I%20mentioned%20before%2C%20Technorati%20has%20some%20interesting%20things%20going%20on%20in%20their%20www%20servers.%20For%20the%20Web%20geeks%20out%20there%2C%20here%20is" title="Ping.fm"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F&amp;title=More%20on%20Technorati%20Performance%20Woes&amp;bodytext=Ok%2C%20one%20of%20the%20tests%20that%20the%20GrabPERF%20System%20is%20running%20is%20doing%20a%20simple%20search%20on%20the%20Technorati%20site.%0A%0A%0A%0AOuch.%0A%0ANow%2C%20as%20I%20mentioned%20before%2C%20Technorati%20has%20some%20interesting%20things%20going%20on%20in%20their%20www%20servers.%20For%20the%20Web%20geeks%20out%20there%2C%20here%20is" title="Digg"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F&amp;title=More%20on%20Technorati%20Performance%20Woes" title="StumbleUpon"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F&amp;title=More%20on%20Technorati%20Performance%20Woes&amp;source=Newest+Industry+Web+Performance%2C+Branding%2C+and+Social+Media&amp;summary=Ok%2C%20one%20of%20the%20tests%20that%20the%20GrabPERF%20System%20is%20running%20is%20doing%20a%20simple%20search%20on%20the%20Technorati%20site.%0A%0A%0A%0AOuch.%0A%0ANow%2C%20as%20I%20mentioned%20before%2C%20Technorati%20has%20some%20interesting%20things%20going%20on%20in%20their%20www%20servers.%20For%20the%20Web%20geeks%20out%20there%2C%20here%20is" title="LinkedIn"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F&amp;title=More%20on%20Technorati%20Performance%20Woes" title="Reddit"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=More%20on%20Technorati%20Performance%20Woes&amp;url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F" title="Slashdot"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F&amp;title=More%20on%20Technorati%20Performance%20Woes&amp;popup=no" title="Netvouz"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F" title="Identi.ca"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F" title="Technorati"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F&amp;title=More%20on%20Technorati%20Performance%20Woes&amp;notes=Ok%2C%20one%20of%20the%20tests%20that%20the%20GrabPERF%20System%20is%20running%20is%20doing%20a%20simple%20search%20on%20the%20Technorati%20site.%0A%0A%0A%0AOuch.%0A%0ANow%2C%20as%20I%20mentioned%20before%2C%20Technorati%20has%20some%20interesting%20things%20going%20on%20in%20their%20www%20servers.%20For%20the%20Web%20geeks%20out%20there%2C%20here%20is" title="del.icio.us"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=More%20on%20Technorati%20Performance%20Woes&amp;body=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fmore-on-technorati-performance-woes%2F" title="email"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://newestindustry.org/2005/07/11/more-on-technorati-performance-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HTTP Compression and Web 2.0</title>
		<link>http://newestindustry.org/2005/07/11/http-compression-and-web-20/</link>
		<comments>http://newestindustry.org/2005/07/11/http-compression-and-web-20/#comments</comments>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<dc:creator>smp</dc:creator>
				<category><![CDATA[GrabPERF]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[compressing]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[EAD]]></category>
		<category><![CDATA[evolution]]></category>
		<category><![CDATA[feeds]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IM]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[Om]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[pr]]></category>
		<category><![CDATA[Technorati]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web 2.0]]></category>
		<category><![CDATA[Web Performance]]></category>
		<category><![CDATA[Web+performance]]></category>
		<category><![CDATA[WebPerformance.Org]]></category>

		<guid isPermaLink="false">http://crazycanuck.wordpress.com/2005/07/11/http-compression-and-web-20/</guid>
		<description><![CDATA[
			
				
			
		
HTTP Compression is a well-acknowledged way to improve Web performance and decrease bandwidth usage by compressing text content before transmitting it to the client. This has become an increasingly interesting topic for Web 2.0 sites starting to experience their first growth pains.


COMPANY
COMPRESSION


Technorati
NO


Flickr
NO


Wikipedia
YES


Blogger
YES


Feedster
NO


Bloglines
YES


Gizmodo
YES


TypePad
YES


Weblogs INC
NO


Scripting News
NO


Memeorandum
NO


The sample above is far from representative. However, I would have thought [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F&amp;source=spierzchala&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>HTTP Compression is a well-acknowledged way to improve Web performance and decrease bandwidth usage by compressing text content before transmitting it to the client. This has become an increasingly interesting topic for Web 2.0 sites starting to experience their first growth pains.</p>
<table border="1">
<tr>
<td><strong>COMPANY</strong></td>
<td><strong>COMPRESSION</strong></td>
</tr>
<tr>
<td>Technorati</td>
<td><strong>NO</strong></td>
</tr>
<tr>
<td>Flickr</td>
<td><strong>NO</strong></td>
</tr>
<tr>
<td>Wikipedia</td>
<td>YES</td>
</tr>
<tr>
<td>Blogger</td>
<td>YES</td>
</tr>
<tr>
<td>Feedster</td>
<td><strong>NO</strong></td>
</tr>
<tr>
<td>Bloglines</td>
<td>YES</td>
</tr>
<tr>
<td>Gizmodo</td>
<td>YES</td>
</tr>
<tr>
<td>TypePad</td>
<td>YES</td>
</tr>
<tr>
<td>Weblogs INC</td>
<td><strong>NO</strong></td>
</tr>
<tr>
<td>Scripting News</td>
<td><strong>NO</strong></td>
</tr>
<tr>
<td>Memeorandum</td>
<td><strong>NO</strong></td>
</tr>
</table>
<p>The sample above is far from representative. However, I would have thought that companies leading the Web 2.0 revolution would be learning the Web performance lessons of the previous generation.</p>
<p>All data was gathered using the <a href="http://www.webperformance.org/grabperf/">GrabPERF Monitoring System</a></p>
<hr />
<p>Technorati: <a href="http://technorati.com/tag/web+performance" rel="tag">web performance</a>, <a href="http://technorati.com/tag/HTTP" rel="tag">HTTP</a>, <a href="http://technorati.com/tag/GrabPERF+System" rel="tag">GrabPERF System</a>, <a href="http://technorati.com/tag/Internet" rel="tag">Internet</a>, <a href="http://technorati.com/tag/Web+2.0" rel="tag">Web 2.0</a></p>



Spread the Love:


	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F&amp;t=HTTP%20Compression%20and%20Web%202.0" title="Facebook"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=HTTP%20Compression%20and%20Web%202.0%20-%20http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F" title="Twitter"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F&amp;title=HTTP%20Compression%20and%20Web%202.0&amp;body=HTTP%20Compression%20is%20a%20well-acknowledged%20way%20to%20improve%20Web%20performance%20and%20decrease%20bandwidth%20usage%20by%20compressing%20text%20content%20before%20transmitting%20it%20to%20the%20client.%20This%20has%20become%20an%20increasingly%20interesting%20topic%20for%20Web%202.0%20sites%20starting%20to%20expe" title="Ping.fm"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F&amp;title=HTTP%20Compression%20and%20Web%202.0&amp;bodytext=HTTP%20Compression%20is%20a%20well-acknowledged%20way%20to%20improve%20Web%20performance%20and%20decrease%20bandwidth%20usage%20by%20compressing%20text%20content%20before%20transmitting%20it%20to%20the%20client.%20This%20has%20become%20an%20increasingly%20interesting%20topic%20for%20Web%202.0%20sites%20starting%20to%20expe" title="Digg"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F&amp;title=HTTP%20Compression%20and%20Web%202.0" title="StumbleUpon"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F&amp;title=HTTP%20Compression%20and%20Web%202.0&amp;source=Newest+Industry+Web+Performance%2C+Branding%2C+and+Social+Media&amp;summary=HTTP%20Compression%20is%20a%20well-acknowledged%20way%20to%20improve%20Web%20performance%20and%20decrease%20bandwidth%20usage%20by%20compressing%20text%20content%20before%20transmitting%20it%20to%20the%20client.%20This%20has%20become%20an%20increasingly%20interesting%20topic%20for%20Web%202.0%20sites%20starting%20to%20expe" title="LinkedIn"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F&amp;title=HTTP%20Compression%20and%20Web%202.0" title="Reddit"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=HTTP%20Compression%20and%20Web%202.0&amp;url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F" title="Slashdot"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F&amp;title=HTTP%20Compression%20and%20Web%202.0&amp;popup=no" title="Netvouz"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F" title="Identi.ca"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F" title="Technorati"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F&amp;title=HTTP%20Compression%20and%20Web%202.0&amp;notes=HTTP%20Compression%20is%20a%20well-acknowledged%20way%20to%20improve%20Web%20performance%20and%20decrease%20bandwidth%20usage%20by%20compressing%20text%20content%20before%20transmitting%20it%20to%20the%20client.%20This%20has%20become%20an%20increasingly%20interesting%20topic%20for%20Web%202.0%20sites%20starting%20to%20expe" title="del.icio.us"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=HTTP%20Compression%20and%20Web%202.0&amp;body=http%3A%2F%2Fnewestindustry.org%2F2005%2F07%2F11%2Fhttp-compression-and-web-20%2F" title="email"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://newestindustry.org/2005/07/11/http-compression-and-web-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Compressing Web Output Using mod_gzip for Apache 1.3.x and 2.0.x</title>
		<link>http://newestindustry.org/2005/04/30/compressing-web-output-using-mod_gzip-for-apache-13x-and-20x/</link>
		<comments>http://newestindustry.org/2005/04/30/compressing-web-output-using-mod_gzip-for-apache-13x-and-20x/#comments</comments>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<dc:creator>smp</dc:creator>
				<category><![CDATA[smp]]></category>
		<category><![CDATA[Acrobat]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[API]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[bandwidth]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[busiest Web servers]]></category>
		<category><![CDATA[client]]></category>
		<category><![CDATA[compress]]></category>
		<category><![CDATA[compressing]]></category>
		<category><![CDATA[compression]]></category>
		<category><![CDATA[content]]></category>
		<category><![CDATA[cro]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[current]]></category>
		<category><![CDATA[data]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[EAD]]></category>
		<category><![CDATA[even Internet Explorer]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[graceful solution]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IM]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Internet Explorer]]></category>
		<category><![CDATA[IP]]></category>
		<category><![CDATA[ISP]]></category>
		<category><![CDATA[Issues]]></category>
		<category><![CDATA[it]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[maintain]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[mod_gzip]]></category>
		<category><![CDATA[Om]]></category>
		<category><![CDATA[One]]></category>
		<category><![CDATA[Pages]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[pr]]></category>
		<category><![CDATA[run]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[the Origin]]></category>
		<category><![CDATA[traffic]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Web client]]></category>
		<category><![CDATA[Web page compression]]></category>
		<category><![CDATA[Web server]]></category>
		<category><![CDATA[Web server platforms]]></category>
		<category><![CDATA[Web server using WGET]]></category>
		<category><![CDATA[Web servers]]></category>
		<category><![CDATA[WGET]]></category>

		<guid isPermaLink="false">http://crazycanuck.wordpress.com/2005/04/30/compressing-web-output-using-mod_gzip-for-apache-13x-and-20x/</guid>
		<description><![CDATA[
			
				
			
		
Web page compression is not a new technology, but it has just recently gained higher recognition in the minds of IT administrators and managers because of the rapid ROI it generates. Compression extensions exist for most of the major Web server platforms, but in this article I will focus on the Apache and mod_gzip solution.
The [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F&amp;source=spierzchala&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Web page compression is not a new technology, but it has just recently gained higher recognition in the minds of IT administrators and managers because of the rapid <strong>ROI</strong> it generates. Compression extensions exist for most of the major Web server platforms, but in this article I will focus on the Apache and <em>mod_gzip</em> solution.</p>
<p>The idea behind GZIP-encoding documents is very straightforward. Take a file that is to be transmitted to a Web client, and send a compressed version of the data, rather than the raw file as it exists on the filesystem. Depending on the size of the file, the compressed version can run anywhere from 50% to 20% of the original file size.</p>
<p>In Apache, this can be achieved using a couple of different methods. Content Negotiation, which requires that two separate sets of HTML files be generated &#8212; one for clients that can handle GZIP-encoding, and one for those who can&#8217;t &#8212; is one method. The problem with this solution should be readily apparent: there is no provision in this methodology for GZIP-encoding dynamically-generated pages.</p>
<p>The more graceful solution for administrators who want to add GZIP-encoding to Apache is the use of <em>mod_gzip</em>. I consider it one of the overlooked gems for designing a high-performance Web server. Using this module, configured file types &#8212; based on file extension or MIME type &#8212; will be compressed using GZIP-encoding after they have been processed by all of Apache&#8217;s other modules, and before they are sent to the client. The compressed data that is generated reduces the number of bytes transferred to the client, without any loss in the structure or content of the original, uncompressed document.</p>
<p><em>mod_gzip</em> can be compiled into Apache as either a static or dynamic module; I have chosen to compile it as a dynamic module in my own server (more compile instructions <a href="http://www.newestindustry.org/index.php/2005/04/30/mod_gzip_compile_instructions">here</a>). The advantage of using <em>mod_gzip</em> is that this method requires that nothing be done on the client side to make it work. All current browsers &#8212; Mozilla, Opera, and even Internet Explorer &#8212; understand and can process GZIP-encoded text content.</p>
<p>On the server side, all the server or site administrator has to do is compile the module, edit the appropriate configuration directives that were added to the httpd.conf file, enable the module in the httpd.conf file, and restart the server. In less than 10 minutes, you can be serving static and dynamic content using GZIP-encoding without the need to maintain multiple codebases for clients that can or cannot accept GZIP-encoded documents.</p>
<p>When a request is received from a client, Apache determines if <em>mod_gzip</em> should be invoked by noting if the &#8220;Accept-Encoding: gzip&#8221; HTTP request header has been sent by the client. If the client sends the header, <em>mod_gzip</em> will automatically compress the output of all configured file types when sending them to the client.</p>
<p>This client header announces to Apache that the client will understand files that have been GZIP-encoded. <em>mod_gzip</em> then processes the outgoing content and includes the following server response headers.</p>
<blockquote>
<pre>
		Content-Type: text/html
		Content-Encoding: gzip
		</pre>
</blockquote>
<p>These server response headers announce that the content returned from the server is GZIP-encoded, but that when the content is expanded by the client application, it should be treated as a standard HTML file. Not only is this successful for static HTML files, but this can be applied to pages that contain dynamic elements, such as those produced by Server-Side Includes (SSI), PHP, and other dynamic page generation methods. You can also use it to compress your Cascading Stylesheets (CSS) and plain text files. As well, a whole range of application file types can be compressed and sent to clients. My httpd.conf file sets the following configuration for the file types handled by <em>mod_gzip</em>:</p>
<blockquote>
<pre>
		mod_gzip_item_include mime ^text/.*
		mod_gzip_item_include mime ^application/postscript$
		mod_gzip_item_include mime ^application/ms.*$
		mod_gzip_item_include mime ^application/vnd.*$
		mod_gzip_item_exclude mime ^application/x-javascript$
		mod_gzip_item_exclude mime ^image/.*$
		</pre>
</blockquote>
<p>This allows Microsoft Office and Postscript files to be GZIP-encoded, while not affecting PDF files. PDF files should not be GZIP-encoded, as they are already compressed in their native format, and compressing them leads to issues when attempting to display the files in Adobe Acrobat Reader.<sup>[1]</sup> For the paranoid system administrator, you may want to explicitly exclude PDF files.</p>
<blockquote>
<pre>
		mod_gzip_item_exclude mime ^application/pdf$
		</pre>
</blockquote>
<p>Another side-note is that nothing needs to be done to allow the GZIP-encoding of OpenOffice (and presumably, StarOffice) documents. Their MIME-type is already set to text-plain, allowing them to be covered by one of the default rules.</p>
<p>How beneficial is sending GZIP-encoded content? In some simple tests I ran on my Web server using WGET, GZIP-encoded documents showed that even on a small Web server, there is the potential to produce a substantial savings in bandwidth usage.</p>
<table border="1">
<tr>
<td>http://www.pierzchala.com/bio.html</td>
<td>Uncompressed File Size: 3122 bytes</td>
</tr>
<tr>
<td>http://www.pierzchala.com/bio.html</td>
<td>Compressed File Size: 1578 bytes</td>
</tr>
<tr>
<td>http://www.pierzchala.com/compress/homepage2.html</td>
<td>Uncompressed File Size: 56279 bytes</td>
</tr>
<tr>
<td>http://www.pierzchala.com/compress/homepage2.html</td>
<td>Compressed File Size: 16286 bytes</td>
</tr>
</table>
<p>Server administrators may be concerned that <em>mod_gzip</em> will place a heavy burden on their systems as files are compressed on the fly. I argue against that, pointing out that this does not seem to concern the administrators of <a href="http://slashdot.org/">Slashdot</a>, one of the busiest Web servers on the Internet, who use <em>mod_gzip</em> in their very high-traffic environment.</p>
<p>The <em>mod_gzip</em> project page for Apache 1.3.x is located at <a href="http://sourceforge.net/projects/mod-gzip/">SourceForge</a>. The Apache 2.0.x version is available from <a href="http://www.gknw.de/development/apache/httpd-2.0/unix/modules/">here</a>.</p>
<hr />
<p>[1] From <a href="http://www.15seconds.com/issue/020314.htm">http://www.15seconds.com/issue/020314.htm</a></p>



Spread the Love:


	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F&amp;t=Compressing%20Web%20Output%20Using%20mod_gzip%20for%20Apache%201.3.x%20and%202.0.x" title="Facebook"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Compressing%20Web%20Output%20Using%20mod_gzip%20for%20Apache%201.3.x%20and%202.0.x%20-%20http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F" title="Twitter"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://ping.fm/ref/?link=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F&amp;title=Compressing%20Web%20Output%20Using%20mod_gzip%20for%20Apache%201.3.x%20and%202.0.x&amp;body=Web%20page%20compression%20is%20not%20a%20new%20technology%2C%20but%20it%20has%20just%20recently%20gained%20higher%20recognition%20in%20the%20minds%20of%20IT%20administrators%20and%20managers%20because%20of%20the%20rapid%20ROI%20it%20generates.%20Compression%20extensions%20exist%20for%20most%20of%20the%20major%20Web%20server%20platf" title="Ping.fm"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/ping.png" title="Ping.fm" alt="Ping.fm" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F&amp;title=Compressing%20Web%20Output%20Using%20mod_gzip%20for%20Apache%201.3.x%20and%202.0.x&amp;bodytext=Web%20page%20compression%20is%20not%20a%20new%20technology%2C%20but%20it%20has%20just%20recently%20gained%20higher%20recognition%20in%20the%20minds%20of%20IT%20administrators%20and%20managers%20because%20of%20the%20rapid%20ROI%20it%20generates.%20Compression%20extensions%20exist%20for%20most%20of%20the%20major%20Web%20server%20platf" title="Digg"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F&amp;title=Compressing%20Web%20Output%20Using%20mod_gzip%20for%20Apache%201.3.x%20and%202.0.x" title="StumbleUpon"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F&amp;title=Compressing%20Web%20Output%20Using%20mod_gzip%20for%20Apache%201.3.x%20and%202.0.x&amp;source=Newest+Industry+Web+Performance%2C+Branding%2C+and+Social+Media&amp;summary=Web%20page%20compression%20is%20not%20a%20new%20technology%2C%20but%20it%20has%20just%20recently%20gained%20higher%20recognition%20in%20the%20minds%20of%20IT%20administrators%20and%20managers%20because%20of%20the%20rapid%20ROI%20it%20generates.%20Compression%20extensions%20exist%20for%20most%20of%20the%20major%20Web%20server%20platf" title="LinkedIn"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://reddit.com/submit?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F&amp;title=Compressing%20Web%20Output%20Using%20mod_gzip%20for%20Apache%201.3.x%20and%202.0.x" title="Reddit"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/reddit.png" title="Reddit" alt="Reddit" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Compressing%20Web%20Output%20Using%20mod_gzip%20for%20Apache%201.3.x%20and%202.0.x&amp;url=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F" title="Slashdot"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.netvouz.com/action/submitBookmark?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F&amp;title=Compressing%20Web%20Output%20Using%20mod_gzip%20for%20Apache%201.3.x%20and%202.0.x&amp;popup=no" title="Netvouz"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/netvouz.png" title="Netvouz" alt="Netvouz" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://identi.ca/notice/new?status_textarea=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F" title="Identi.ca"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/identica.png" title="Identi.ca" alt="Identi.ca" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F" title="Technorati"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F&amp;title=Compressing%20Web%20Output%20Using%20mod_gzip%20for%20Apache%201.3.x%20and%202.0.x&amp;notes=Web%20page%20compression%20is%20not%20a%20new%20technology%2C%20but%20it%20has%20just%20recently%20gained%20higher%20recognition%20in%20the%20minds%20of%20IT%20administrators%20and%20managers%20because%20of%20the%20rapid%20ROI%20it%20generates.%20Compression%20extensions%20exist%20for%20most%20of%20the%20major%20Web%20server%20platf" title="del.icio.us"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="mailto:?subject=Compressing%20Web%20Output%20Using%20mod_gzip%20for%20Apache%201.3.x%20and%202.0.x&amp;body=http%3A%2F%2Fnewestindustry.org%2F2005%2F04%2F30%2Fcompressing-web-output-using-mod_gzip-for-apache-13x-and-20x%2F" title="email"><img src="http://newestindustry.org/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a>


<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://newestindustry.org/2005/04/30/compressing-web-output-using-mod_gzip-for-apache-13x-and-20x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
