<?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>kieranbarnes &#187; Cache</title>
	<atom:link href="http://bloke.org/tag/cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://bloke.org</link>
	<description>do you know where your towel is?</description>
	<lastBuildDate>Sat, 21 Aug 2010 12:03:59 +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>WP Super Cache &#8211; I&#8217;m impressed</title>
		<link>http://bloke.org/wordpress/wp-super-cache-im-impressed/</link>
		<comments>http://bloke.org/wordpress/wp-super-cache-im-impressed/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 14:48:51 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[performance grade]]></category>
		<category><![CDATA[score]]></category>
		<category><![CDATA[Super]]></category>
		<category><![CDATA[tweaking]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[YSlow]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=316</guid>
		<description><![CDATA[Pictures speak better than words... 
WP Super Cache has shaved nearly 3 seconds off the i9000 Networks website. Nice!
Before

After

After a bit of tweaking, from my other article, I've managed to get the i9k site to a Performance Grade A with a score of 94 according to YSlow. Even nicer!


Related posts:Site Performance Quick Fixes I've been [...]


Related posts:<ol><li><a href='http://bloke.org/wordpress/site-performance-quick-fixes/' rel='bookmark' title='Permanent Link: Site Performance Quick Fixes'>Site Performance Quick Fixes</a> <small>I've been playing around with YSlow for a while now,...</small></li>
<li><a href='http://bloke.org/php/extra-cover-cricket/' rel='bookmark' title='Permanent Link: Extra Cover Cricket'>Extra Cover Cricket</a> <small>I wrote the Extra Cover Cricket site about a year...</small></li>
<li><a href='http://bloke.org/geeky/wordpress-secret-key-cookie-strength/' rel='bookmark' title='Permanent Link: Wordpress Secret Key &#038; Cookie Strength'>Wordpress Secret Key &#038; Cookie Strength</a> <small>There is a little known feature in Wordpress 2.5 called...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Pictures speak better than words... <span id="more-316"></span></p>
<p><a href="http://ocaoimh.ie/wp-super-cache/" target="_blank">WP Super Cache</a> has shaved nearly 3 seconds off the <a title="PHP Programming and Ecommerce" href="http://www.i9000networks.com" target="_blank">i9000 Networks</a> website. Nice!</p>
<p><strong>Before<br />
</strong><a href="http://bloke.org/wp-content/uploads/2008/07/yslow-wp-26-bar-no-cache.jpg"><img class="alignnone size-full wp-image-318" title="yslow-wp-26-bar-no-cache" src="http://bloke.org/wp-content/uploads/2008/07/yslow-wp-26-bar-no-cache.jpg" alt="" width="135" height="60" /></a><br />
<strong>After</strong></p>
<p><a href="http://bloke.org/wp-content/uploads/2008/07/yslow-wp-26-bar-super-cache.jpg"><img class="alignnone size-full wp-image-317" title="yslow-wp-26-bar-super-cache" src="http://bloke.org/wp-content/uploads/2008/07/yslow-wp-26-bar-super-cache.jpg" alt="" width="137" height="60" /></a></p>
<p>After a bit of <a title="Site Performance Quick Fixes" href="http://bloke.org/wordpress/site-performance-quick-fixes/" target="_blank">tweaking</a>, from my other article, I've managed to get the i9k site to a <strong>Performance Grade A</strong> with a score of <strong>94 </strong>according to YSlow. Even nicer!</p>


<p>Related posts:<ol><li><a href='http://bloke.org/wordpress/site-performance-quick-fixes/' rel='bookmark' title='Permanent Link: Site Performance Quick Fixes'>Site Performance Quick Fixes</a> <small>I've been playing around with YSlow for a while now,...</small></li>
<li><a href='http://bloke.org/php/extra-cover-cricket/' rel='bookmark' title='Permanent Link: Extra Cover Cricket'>Extra Cover Cricket</a> <small>I wrote the Extra Cover Cricket site about a year...</small></li>
<li><a href='http://bloke.org/geeky/wordpress-secret-key-cookie-strength/' rel='bookmark' title='Permanent Link: Wordpress Secret Key &#038; Cookie Strength'>Wordpress Secret Key &#038; Cookie Strength</a> <small>There is a little known feature in Wordpress 2.5 called...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://bloke.org/wordpress/wp-super-cache-im-impressed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Performance Quick Fixes</title>
		<link>http://bloke.org/wordpress/site-performance-quick-fixes/</link>
		<comments>http://bloke.org/wordpress/site-performance-quick-fixes/#comments</comments>
		<pubDate>Thu, 31 Jul 2008 14:14:48 +0000</pubDate>
		<dc:creator>Kieran</dc:creator>
				<category><![CDATA[Apache]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[cache control]]></category>
		<category><![CDATA[cut and paste]]></category>
		<category><![CDATA[ETags]]></category>
		<category><![CDATA[extra points]]></category>
		<category><![CDATA[jpg jpeg]]></category>
		<category><![CDATA[paste job]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[php cgi]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[quick test]]></category>
		<category><![CDATA[score]]></category>
		<category><![CDATA[trickery]]></category>
		<category><![CDATA[YSlow]]></category>

		<guid isPermaLink="false">http://bloke.org/?p=308</guid>
		<description><![CDATA[I've been playing around with YSlow for a while now, now I decided to a quick test on this blog.
This blog, according to YSlow rates a frumpy Grade D, with a score of 61. Not bad, but not great.
A bit of .htaccess trickery should give me a few extra points... Excellent Grade C, with a [...]


Related posts:<ol><li><a href='http://bloke.org/wordpress/wp-super-cache-im-impressed/' rel='bookmark' title='Permanent Link: WP Super Cache &#8211; I&#8217;m impressed'>WP Super Cache &#8211; I&#8217;m impressed</a> <small>Pictures speak better than words... WP Super Cache has shaved...</small></li>
<li><a href='http://bloke.org/linux/enabling-mod_deflategzip-globally-on-cpanel/' rel='bookmark' title='Permanent Link: Enabling mod_deflate/gzip globally on cPanel'>Enabling mod_deflate/gzip globally on cPanel</a> <small>There's far too many reasons to mention why you should...</small></li>
<li><a href='http://bloke.org/php/using-wordpress-header-and-footers-externally/' rel='bookmark' title='Permanent Link: Using Wordpress header and footers externally'>Using Wordpress header and footers externally</a> <small>I needed to integrate a Wordpress header (header.php) and footer...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I've been playing around with <a href="http://developer.yahoo.com/yslow/" target="_blank">YSlow</a> for a while now, now I decided to a quick test on this blog.</p>
<p>This blog, according to <a href="http://developer.yahoo.com/yslow/" target="_blank">YSlow</a> rates a frumpy <strong>Grade D</strong>, with a score of <strong>61</strong>. Not bad, but not great.<br />
A bit of .htaccess trickery should give me a few extra points... Excellent <strong>Grade C</strong>, with a score of <strong>73</strong>.<span id="more-308"></span><br />
Here's the modified .htaccess file. Some of this is <span style="text-decoration: line-through;">blatantly stolen</span> borrowed from the <a href="http://www.askapache.com/htaccess/speed-up-your-site-with-caching-and-cache-control.html#caching-with-both-modules" target="_blank">AskApache Guru</a>.</p>
<pre># Turn on Expires and set default to 0
ExpiresActive On
ExpiresDefault A0

# Set up caching on media files for 1 year (forever?)
&lt;FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav)$"&gt;
ExpiresDefault A29030400
Header append Cache-Control "public"
&lt;/FilesMatch&gt;

# Set up caching on media files for 1 week
&lt;FilesMatch "\.(gif|jpg|jpeg|png|swf)$"&gt;
ExpiresDefault A604800
Header append Cache-Control "public"
&lt;/FilesMatch&gt;

# Set up 2 Hour caching on commonly updated files
&lt;FilesMatch "\.(xml|txt|html|js|css)$"&gt;
ExpiresDefault A7200
Header append Cache-Control "proxy-revalidate"
&lt;/FilesMatch&gt;

# Force no caching for dynamic files
&lt;FilesMatch "\.(php|cgi|pl|htm)$"&gt;
ExpiresActive Off
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
&lt;/FilesMatch&gt;

# deflate JS and CSS
&lt;IfModule mod_deflate.c&gt;
        &lt;FilesMatch "\.(js|css)$"&gt;
                SetOutputFilter DEFLATE
        &lt;/FilesMatch&gt;
&lt;/IfModule&gt;

# Disable pesky ETags.
Header unset ETag
FileETag None</pre>
<p><strong>What have we done?</strong></p>
<ul>
<li>Setup caching on most of the commonly served files</li>
<li>Set Javascript and CSS files be GZipped</li>
<li>Disabled <a href="http://en.wikipedia.org/wiki/HTTP_ETag" target="_blank">ETags</a>.</li>
</ul>
<p>So, jumping up a grade for just a simple cut and paste job? Can't be bad.</p>
<p>What else can we do? Well, theres lots. For example, I use the <a href="http://www.puzich.com/wordpress-plugins/lightview" target="_blank">LightView Plus</a> plugin, it's very JS &amp; CSS heavy. Disabling it adds 13 points, taking me up to a score of <strong>86</strong>. It also saves 50k of code.</p>
<p>Take a look at your Wordpress plugins. Do you really need them all? Perhaps try loading the plugins only on the pages you require them on. cformsII lets you do exactly that!</p>


<p>Related posts:<ol><li><a href='http://bloke.org/wordpress/wp-super-cache-im-impressed/' rel='bookmark' title='Permanent Link: WP Super Cache &#8211; I&#8217;m impressed'>WP Super Cache &#8211; I&#8217;m impressed</a> <small>Pictures speak better than words... WP Super Cache has shaved...</small></li>
<li><a href='http://bloke.org/linux/enabling-mod_deflategzip-globally-on-cpanel/' rel='bookmark' title='Permanent Link: Enabling mod_deflate/gzip globally on cPanel'>Enabling mod_deflate/gzip globally on cPanel</a> <small>There's far too many reasons to mention why you should...</small></li>
<li><a href='http://bloke.org/php/using-wordpress-header-and-footers-externally/' rel='bookmark' title='Permanent Link: Using Wordpress header and footers externally'>Using Wordpress header and footers externally</a> <small>I needed to integrate a Wordpress header (header.php) and footer...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://bloke.org/wordpress/site-performance-quick-fixes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
