<?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>Paul Hartrick &#187; speed up wordpress</title>
	<atom:link href="http://paulhartrick.com/tag/speed-up-wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://paulhartrick.com</link>
	<description>-have the courage to live your own life-</description>
	<lastBuildDate>Wed, 09 Sep 2009 23:32:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Make Wordpress Run Even Faster</title>
		<link>http://paulhartrick.com/make-wordpress-run-even-faster</link>
		<comments>http://paulhartrick.com/make-wordpress-run-even-faster#comments</comments>
		<pubDate>Fri, 01 Feb 2008 03:34:50 +0000</pubDate>
		<dc:creator>-Paul</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Make Wordpress Run Even Faster]]></category>
		<category><![CDATA[optimize wordpress]]></category>
		<category><![CDATA[speed up wordpress]]></category>

		<guid isPermaLink="false">http://paulhartrick.com/make-wordpress-run-even-faster</guid>
		<description><![CDATA[Back in December I blogged about &#8220;How Fast is your Wordpress Blog&#8221; Since then I have done a lot more research into this subject and I have come up with a few more ways to Speed up Wordpress and make it Digg Proof in the event of an extremely popular post.
&#60;Disclaimer&#62;
The following tips to speed [...]]]></description>
			<content:encoded><![CDATA[<p>Back in December I blogged about &#8220;<a href="http://paulhartrick.com/how-fast-is-your-wordpress-blog">How Fast is your Wordpress Blog&#8221;</a> Since then I have done a lot more research into this subject and I have come up with a few more ways to Speed up Wordpress and make it <a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fpaulhartrick.com%2Fmake-wordpress-run-even-faster&amp;title=Make+Wordpress+Run+Even+Faster" title="Digg Me!" target="_blank">Digg</a> Proof in the event of an extremely popular post.</p>
<p><disclaimer>&lt;Disclaimer&gt;<br />
The following tips to speed up Wordpress are certainly not for the faint of heart, and I suggest you only attempt these with a good disaster recovery plan in place.</disclaimer><br />
&lt;/Disclaimer&gt;</p>
<p>One of the first and most successful techniques is to optimize your database.<br />
Working daily on very large Oracle Databases I certainly know the importance of a well tuned database. Since pages are served dynamically, every page load in Wordpress results in a Mysql Query, and as stated in my first post on <a href="http://paulhartrick.com/how-fast-is-your-wordpress-blog" title="Speed up wordpress" target="_blank">speeding up Wordpress</a> the WP-Cache plugin helps to reduce these queries but it’s also important to make sure you have the Query Cache optimized for maximum performance.</p>
<p>To activate the Mysql Query Cache:</p>
<p>1. Find your mysql configuration file my.cnf<br />
2. Find the setting query-cache-type &amp; change the value to 1<br />
3. Find the query-cache-size &amp; change the value to 20M<br />
4. Find the query-cache-limit &amp; change the value to 2M</p>
<p>You will need to make sure your host allows root access to the server in order to do this tweak.</p>
<p>The next tip to try is using PHP Compiler Cache</p>
<p>The PHP Compiler cache saves scripts in their compiled format on the server so that they’re not getting recompiled every time you call them from Wordpress. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution. It typically reduces server load and increases the speed of your PHP code by 1-10 times.</p>
<p>Here are links to a couple of PHP Compiler Caches <a href="http://pecl.php.net/package/APC">APC</a> &amp; <a href="http://eaccelerator.net/">eAccelerator</a></p>
<p>The final tip I have for today is to make sure you select the correct hosting company.</p>
<p><em>Unfortunately I initially selected one of the most incompetent hosting companies in the known universe for my personal blog,  and I have had nothing but grief, angst, argument and downtime since joining&#8230;.. The name of the worst hosting company in the world is &#8217;smartyhost dot com dot au&#8217;, I won&#8217;t even link to them thanks how much they suck.　In spite of their total incompetence and lack of support and b-grade service I have still managed a reasonably fast Wordpress blog. I am saving all the problems with the worst hosting company in the world, for another blog post, and I will make sure I get the keyword SEO just right to ensure it gets 1st position on Google&#8230;.. rant over&#8230;.</em></p>
<p>The two hosting companies I looked at and reviewed are <a href="http://www.bluehost.com" title="Bluehost.com" target="_blank">bluehost.com</a> and <a href="http://micfo.com" title="micfo.com" target="_blank">micfo.com</a>, but keep in mind micfo.com doesn&#8217;t accept credit card payments so you have to use paypal or wire transfer&#8230;. I elected to use bluehost.com. After this weekends <a href="http://tnchick.com/" title="Photo Hunt" target="_blank">Photo Hunt</a> competition I will redirect my DNS to my new host with migrated blog and hopefully everyone will see another speed boost&#8230;.</p>
<p><strong>がんばてます</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://paulhartrick.com/make-wordpress-run-even-faster/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>How Fast is your Wordpress Blog</title>
		<link>http://paulhartrick.com/how-fast-is-your-wordpress-blog</link>
		<comments>http://paulhartrick.com/how-fast-is-your-wordpress-blog#comments</comments>
		<pubDate>Mon, 31 Dec 2007 01:41:46 +0000</pubDate>
		<dc:creator>-Paul</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[How Fast is your Wordpress Blog]]></category>
		<category><![CDATA[make wordpress faster]]></category>
		<category><![CDATA[optimize wordpress]]></category>
		<category><![CDATA[speed up wordpress]]></category>

		<guid isPermaLink="false">http://paulhartrick.com/how-fast-is-your-wordpress-blog</guid>
		<description><![CDATA[One of the challenges with web pages is maintaining an acceptable load time while still having enough immediately displayed content to keep your target audience interested. When I first loaded Wordpress as my preferred blogging back end and proceeded to customize the theme, load all the widgets, add a photo gallery, some advertising&#8230; you get [...]]]></description>
			<content:encoded><![CDATA[<p>One of the challenges with web pages is maintaining an acceptable load time while still having enough immediately displayed content to keep your target audience interested. When I first loaded Wordpress as my preferred blogging back end and proceeded to customize the theme, load all the widgets, add a photo gallery, some advertising&#8230; you get the picture, a standard <a title="Wordpress" href="http://www.wordpress.com" target="_blank">Wordpress</a> blog, I was unaware my blog had become slooooow&#8230;..</p>
<p>It&#8217;s interesting that as you work on your blogs theme to get it just right you actually become unaware that your blog has become so slow that people probably leave before the page finishes loading. The back end also becomes frustratingly slow, it generally takes someone to bring it to you attention, before you realize it&#8217;s an issue.</p>
<p>This was first brought to my attention by <a title="We love Monsters" href="http://www.hellomonsters.com/" target="_blank">Surgey from Hello Monsters</a>. In fact my blog was taking over 10 seconds to load which after being made aware of it I decided I need to take action.</p>
<p>Ok, now I know what the problem is how do I go about fixing it? Well I have found a few easy ways to speed up your Wordpress blog without requiring any special skill and can be done very easily and quickly.</p>
<p>The first this I did was to install the <a title="Firebug" href="https://addons.mozilla.org/en-US/firefox/addon/1843" target="_blank">Firebug Firefox Plugin </a>. If you are not using Firefox I suggest you give it a try. With the Firebug plugin you can see very quickly how long each part of your web page takes to load.</p>
<p><a title="Firebug" href="http://paulhartrick.com/wordpress/wp-content/uploads/2007/12/rebug.png"><img src="http://paulhartrick.com/wordpress/wp-content/uploads/2007/12/rebug.png" border="2" alt="Firebug" hspace="5" vspace="5" width="326" height="144" align="left" /></a></p>
<p>Upon investigation I noticed that a bunch of plugins were being loaded even though they weren&#8217;t active in my blog&#8230; hmmm&#8230; time to clean up the unused plugins. What I was doing was loading a plugin, testing, deciding I didn&#8217;t like and de-activate it. I should have also deleted the plugin as this is a major cause of slowdown on the Wordpress blogs. So delete all unused widgets from your Wordpress plugin directory.</p>
<p>The second cause of slowdowns I noticed were text widgets that were not in use but contained code. So for all the unused widgets that can accept code, make sure they are empty otherwise they get processed and slow down the page loading.</p>
<p>Pretty easy right&#8230; but that&#8217;s not were it stopped for me. Although with the two simple changes above reaping great rewards I still wanted to bring the load times down further. As a programmer I know the importance of Cache, so I found a nice Wordpress plugin that gives server side caching functionality, <a title="Wp Super Cache" href="http://wordpress.org/extend/plugins/wp-super-cache/" target="_blank">Wp Super Cache</a>. Not only was the name catchy it did actually reduce load times and didn&#8217;t require the reader to do anything.</p>
<p>Ok, were still on some pretty easy stuff here and if everybody followed the above recommendations then your blog would definitely load faster.</p>
<p>Now it&#8217;s nearly unavoidable to rely on external resources to provide some form of content on your blog, i.e. <a title="Adsense" href="http://www.adsense.com" target="_blank">adsense</a>, <a title="My Blog Log" href="http://www.mybloglog.com" target="_blank">mybloglog</a>, <a title="Adtoll Advrtising" href="http://www.adtoll.com">adtoll</a>&#8230; etc.. etc.. the list goes on.</p>
<p>So how do you optimize these? One strategy is to make sure your content loads before the external links, so one thing I did was put the mybloglog code in the footer.php. Now this may be beyond some peoples ability so be careful. The advantage I have with the mybloglog in the footer is that my blog loads before all the little mybloglog thumbnails have completed loading, and I have a lot of them!</p>
<p>Now generally blogs have some some advertising, so there are two things you can easily do here. Make sure images include height and width attributes. This will allow the browser to allocate the image space before the image is loaded, and for code based advertising place the code in an iFrame so your page continues to load regardless of what the iframe is doing. Both these tips are very effective.</p>
<p>Now it appears that the average persons ability to wait for a page to load is 8-10 seconds, anything longer and you risk losing your audience, and with the above tips hopefully your blog will load it&#8217;s main content within this time frame.</p>
<p>There is one more tip I have but this is not for the <a title="Is it Feint or Faint?" href="http://lettersinbottles.blogspot.com/2005/09/feint-of-heart-or-faint-of-heart.html" target="_blank">faint of heart</a>. You can compress your .css files to reduce data that needs to be loaded. Now .css files are beautifully formatted so they are man readable, but your web browser doesn&#8217;t care, so you can save up to 30% of load times for .css files by removing all the lovely spaces, pagination, tabbing etc in the .css files that make them man readable. There a many utilities to compress your .css files and give reports on how much the file size is reduced. e.g. <a title="Icey CSS compressor" href="http://iceyboard.no-ip.org/projects/css_compressor" target="_blank">Icey</a>. As I said this is not for everyone though.</p>
<p>I hope you can all reduce load times and feel free to leave more tips in the comments for all to learn.</p>
<p>Have a Safe and Happy New Year.</p>
<p>ことしもありがとうございました</p>
<p>-Paul</p>
]]></content:encoded>
			<wfw:commentRss>http://paulhartrick.com/how-fast-is-your-wordpress-blog/feed</wfw:commentRss>
		<slash:comments>47</slash:comments>
		</item>
	</channel>
</rss>
