<?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>Web Site Monitoring Industry News &#187; website performance</title>
	<atom:link href="http://www.aspmagicobjects.com/blog/tag/website-performance/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.aspmagicobjects.com/blog</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 26 Feb 2010 11:03:44 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Improving Website Performance With .htaccess File Configuration</title>
		<link>http://www.aspmagicobjects.com/blog/2010-02-26/improving-website-performance-with-htaccess-file-configuration/</link>
		<comments>http://www.aspmagicobjects.com/blog/2010-02-26/improving-website-performance-with-htaccess-file-configuration/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 11:03:44 +0000</pubDate>
		<dc:creator>aliax</dc:creator>
				<category><![CDATA[website performance]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[htaccess]]></category>

		<guid isPermaLink="false">http://www.aspmagicobjects.com/blog/?p=21</guid>
		<description><![CDATA[Handlers Apache 2.0 and 2.2 allow you to compress content before sending it to the visitor&#8217;s browser. Types of content to be compressed, set the type of MIME. This function requires the correct operation of the command handler mod_deflate Apache. Before modifying configuration file, don&#8217;t forget to back up your .htaccess. Add the following lines [...]]]></description>
			<content:encoded><![CDATA[<p>Handlers  Apache 2.0 and 2.2 allow you to compress content before sending it to  the visitor&#8217;s browser. Types of content to be compressed, set the type of MIME. This  function requires the correct operation of the command handler  mod_deflate Apache. Before modifying configuration file, don&#8217;t forget to back up your .htaccess.</p>
<p><span id="more-21"></span>Add the following lines to your .htaccess file:</p>
<blockquote><p>&lt;IfModule mod_deflate.c&gt;<br />
AddOutPutFilterByType DEFLATE text/html text/plain text/xml<br />
&lt;IfModule mod_setenvif.c&gt;<br />
# Netscape 4.x has some problems&#8230;<br />
BrowserMatch ^Mozilla/4 gzip-only-text/html</p>
<p># Netscape 4.06-4.08 have some more problems<br />
BrowserMatch ^Mozilla/4.0[678] no-gzip</p>
<p># MSIE masquerades as Netscape, but it is fine<br />
# BrowserMatch bMSIE !no-gzip !gzip-only-text/html</p>
<p># NOTE: Due to a bug in mod_setenvif up to Apache 2.0.48<br />
# the above regex won&#8217;t work. You can use the following<br />
# workaround to get the desired effect:<br />
BrowserMatch bMSI[E] !no-gzip !gzip-only-text/html</p>
<p># Don&#8217;t compress images<br />
SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary<br />
&lt;/IfModule&gt;</p>
<p>&lt;IfModule mod_headers.c&gt;<br />
# Make sure proxies don&#8217;t deliver the wrong content<br />
Header append Vary User-Agent env=!dont-vary<br />
&lt;/IfModule&gt;<br />
&lt;/IfModule&gt;</p></blockquote>
<p>This will make your website work really faster and your visitors will feel grateful to you, which means they will be more loyal and more of them will turn into your permanent customers.</p>
<p>p.s. If for some reason your server returns Error 500 (Internal Server Error), try asking your host support how to enable GZIP compression on your website.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.aspmagicobjects.com/blog/2010-02-26/improving-website-performance-with-htaccess-file-configuration/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
