<?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>Werk for Hire &#187; gzip</title>
	<atom:link href="http://www.werkforhire.com/blog/tag/gzip/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.werkforhire.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 13 May 2009 21:07:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Optimize your frontend</title>
		<link>http://www.werkforhire.com/blog/2009/05/optimize-your-frontend/</link>
		<comments>http://www.werkforhire.com/blog/2009/05/optimize-your-frontend/#comments</comments>
		<pubDate>Tue, 05 May 2009 16:51:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[frontend optimization]]></category>
		<category><![CDATA[amazon s3 cdn]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[front end optimization]]></category>
		<category><![CDATA[gzip]]></category>
		<category><![CDATA[high performance website]]></category>
		<category><![CDATA[httaccess]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[yslow]]></category>

		<guid isPermaLink="false">http://www.werkforhire.com/wordpress/?p=1</guid>
		<description><![CDATA[The following is a list of code snippets and urls and tools to improve site performance. 
htaccsss file :


############################################
## enable apache served files compression
## http://developer.yahoo.com/performance/rules.html#gzip

# Insert filter
SetOutputFilter DEFLATE

# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html

# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip

# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Don't [...]]]></description>
			<content:encoded><![CDATA[<p>The following is a list of code snippets and urls and tools to improve site performance. </p>
<p>htaccsss file :</p>
<pre>
<IfModule mod_deflate.c>
############################################
## enable apache served files compression
## http://developer.yahoo.com/performance/rules.html#gzip

# Insert filter
SetOutputFilter DEFLATE

# Netscape 4.x has some problems...
BrowserMatch ^Mozilla/4 gzip-only-text/html

# Netscape 4.06-4.08 have some more problems
BrowserMatch ^Mozilla/4\.0[678] no-gzip

# MSIE masquerades as Netscape, but it is fine
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
# Don't compress images
SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary

# Make sure proxies don't deliver the wrong content
#Header append Vary User-Agent env=!dont-vary

</IfModule>

<ifmodule mod_expires.c>
    ExpiresActive On
    ExpiresByType text/javascript "A604800"
    ExpiresByType text/css "A604800"
    ExpiresByType image/x-icon "A31536000"
    ExpiresByType image/gif "A604800"
    ExpiresByType image/jpg "A604800"
    ExpiresByType image/jpeg "A604800"
    ExpiresByType image/png "A604800"
</ifmodule>
</pre>
<p>image compression: <a href="http://smush.it/">smush it</a></p>
<p>js min: <a href="http://dean.edwards.name/packer/"> dean packer</a> or <a href="http://www.crockford.com/javascript/jsmin.html">js min</a></p>
<p>css min:<a href="http://www.cssdrive.com/index.php/main/csscompressor/">css compressor</a> or <a href="http://www.cssoptimiser.com/optimize.php">css optimiser</a></p>
<p>cdn :<a href="http://aws.amazon.com/s3/">Amazon&#8217;s S3 CDN</a></p>
<p>s3up <a href="http://github.com/tylerhall/s3up/tree/master">php s3 uploader </a>(set far future headers for static content)</p>
<p>verify: <a href="http://developer.yahoo.com/yslow/">Yslow</a> and <a href="http://webpagetest.org">web page tester</a></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.werkforhire.com/blog/2009/05/optimize-your-frontend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
