<?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>Alex M's Blog &#187; Compression</title>
	<atom:link href="http://blog.alexmckenzie.info/tag/compression/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.alexmckenzie.info</link>
	<description>Somewhat useful things</description>
	<lastBuildDate>Tue, 19 Jul 2011 12:01:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>The beauty of gzip compression</title>
		<link>http://blog.alexmckenzie.info/2009/12/05/the-beauty-of-gzip-compression/</link>
		<comments>http://blog.alexmckenzie.info/2009/12/05/the-beauty-of-gzip-compression/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 08:37:43 +0000</pubDate>
		<dc:creator>Alex M</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[.htaccess]]></category>
		<category><![CDATA[Compression]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[ob_gzhandler]]></category>

		<guid isPermaLink="false">http://blog.alexmckenzie.info/?p=47</guid>
		<description><![CDATA[I have just discovered the magic of gzip compression on web pages. I knew it would be good, but I was blown away by the saving. Without gzip compression, the homepage of the Oz Broadband Speed Test was 32.37 KB &#8230; <a href="http://blog.alexmckenzie.info/2009/12/05/the-beauty-of-gzip-compression/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have just discovered the magic of gzip compression on web pages. I knew it would be good, but I was blown away by the saving.</p>
<p>Without gzip compression, the homepage of the Oz Broadband Speed Test was 32.37 KB (33142 bytes), with gzip turned on the same page was 7.61 KB (7789 bytes).</p>
<p>That&#8217;s a massive 75% saving in data. While it might not seem like much, on a high trafficked site it really starts to add up.</p>
<p>Turning gzip on is also easy, with the use of an .htaccess file on an Apache web server, and is done with a single line of code.</p>
<pre class="brush:php">php_value output_handler ob_gzhandler</pre>
<p>I&#8217;m not sure how much extra load this will add to the server, but I am hoping it is minimal. I&#8217;ll keep an eye on this over the next few days.</p>
<p>The best thing with this is that if your browser doesn&#8217;t support any compression methods (highly unlikely in today&#8217;s browsers) then it will simply send the page back without compression.</p>
<p>It&#8217;s really win win.</p>
<p>I should also point out that this only compresses PHP files, and not CSS, JavaScript or images.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.alexmckenzie.info/2009/12/05/the-beauty-of-gzip-compression/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

