<?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>NY INTERACTIVE AGENCY « iFUEL INTERACTIVE / AGENCY212 &#187; Compression</title>
	<atom:link href="http://blogs.ifuelinteractive.com/tag/compression/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.ifuelinteractive.com</link>
	<description>A NY INTERACTIVE AGENCY</description>
	<lastBuildDate>Fri, 02 Jul 2010 15:38:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enabling Compression on a Magento Site on OpenSuse</title>
		<link>http://blogs.ifuelinteractive.com/2010/01/26/enabling-compression-on-a-magento-site-on-opensuse/</link>
		<comments>http://blogs.ifuelinteractive.com/2010/01/26/enabling-compression-on-a-magento-site-on-opensuse/#comments</comments>
		<pubDate>Tue, 26 Jan 2010 16:18:39 +0000</pubDate>
		<dc:creator>Andy</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Magento]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Compression]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[OpenSuse]]></category>

		<guid isPermaLink="false">http://blogs.ifuelinteractive.com/?p=174</guid>
		<description><![CDATA[If you&#8217;re running Magento on OpenSuse (or any platform for that matter), you can really benefit from turning on http compression, especially to remote areas or from hosts that have limited bandwidth.
There are a lot of references out there on this, but you have to sort of pull it all together on your own for [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running Magento on OpenSuse (or any platform for that matter), you can really benefit from turning on http compression, especially to remote areas or from hosts that have limited bandwidth.</p>
<p>There are a lot of references out there on this, but you have to sort of pull it all together on your own for this particular combination.</p>
<p><strong>Verify that mod_deflate has been installed in Apache:<br />
</strong><br />
1. Open /etc/sysconfig/apache2.</p>
<p>2. Find the line that starts:</p>
<p>APACHE_MODULES=&#8230;</p>
<p>3. Verify that &#8220;deflate&#8221; is one of the modules listed (may not be in alphabetical order).</p>
<p><strong>Now, enable compression in the virtual host file for your site:</strong></p>
<p>1. Open /etc/apache2/vhosts.d/.conf.</p>
<p>2. Add the following lines inside the  tag:</p>
<pre>
<pre class="brush: php">

    &lt;IfModule mod_deflate.c&gt;
	DeflateBufferSize 32768
	DeflateCompressionLevel 5

	&lt;Location /&gt;
		SetOutputFilter DEFLATE
		BrowserMatch ^Mozilla/4 gzip-only-text/html
		BrowserMatch ^Mozilla/4\.0[678] no-gzip
		BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
		SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png|tiff)$ no-gzip dont-vary
		# Header append Vary User-Agent env=!dont-vary
	&lt;/Location&gt;
    &lt;/IfModule&gt;
</pre>
</pre>
<p><strong>Now restart Apache using:</strong></p>
<p>sudo /etc/init.d/apache2 restart</p>
<p>and you should be in business!</p>
<p><strong>Validate that compression is working</strong></p>
<p>A great, handy online site that you can use to validate that compression is working is <a href="http://www.gidnetwork.com/tools/gzip-test.php" target="_blank">http://www.gidnetwork.com/tools/gzip-test.php</a>.</p>
<p>=============================<em><br />
“e-commerce done right</em>”<br />
<a href="http://www.ifuelinteractive.com/" target="_blank">http://www.ifuelinteractive.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blogs.ifuelinteractive.com/2010/01/26/enabling-compression-on-a-magento-site-on-opensuse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
