• Home
  •     |    
  • About
  •     |    
  • Archives
  •     |    
  • Photo Gallery
  •     |    
  • Privacy
  •     |    
  • Work Overseas
  •     |    

Feb
01
Make Wordpress Run Even Faster
Translate to EnglishÜbersetzen Sie zum Deutsch/GermanПереведите к русскому/RussianΜεταφράστε στα ελληνικά/GreekVertaal aan het Nederlands/Dutchترجمة الى العربية/Arabic中文翻译/Chinese Traditional中文翻译/Chinese Simplified한국어에게 번역하십시오/Korean日本語に翻訳しなさい /JapaneseTraduza ao Português/PortugueseTraduca ad Italiano/ItalianTraduisez au Français/FrenchTraduzca al Español/Spanish

Back in December I blogged about “How Fast is your Wordpress Blog” 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.

<Disclaimer>
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>

One of the first and most successful techniques is to optimize your database.
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 speeding up Wordpress 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.

To activate the Mysql Query Cache:

1. Find your mysql configuration file my.cnf
2. Find the setting query-cache-type & change the value to 1
3. Find the query-cache-size & change the value to 20M
4. Find the query-cache-limit & change the value to 2M

You will need to make sure your host allows root access to the server in order to do this tweak.

The next tip to try is using PHP Compiler Cache

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.

Here are links to a couple of PHP Compiler Caches APC & eAccelerator

The final tip I have for today is to make sure you select the correct hosting company.

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….. The name of the worst hosting company in the world is ’smartyhost dot com dot au’, I won’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….. rant over….

The two hosting companies I looked at and reviewed are bluehost.com and micfo.com, but keep in mind micfo.com doesn’t accept credit card payments so you have to use paypal or wire transfer…. I elected to use bluehost.com. After this weekends Photo Hunt competition I will redirect my DNS to my new host with migrated blog and hopefully everyone will see another speed boost….

がんばてます

.......................................................................

 




   Read More   


Google
 
Comments:
9 Comments posted on "Make Wordpress Run Even Faster"
Aaron Wakling on February 1st, 2008 at 12:42 pm #

I found your site on technorati and read a few of your other posts. Keep up the good work. I just added your RSS feed to my Google News Reader. Looking forward to reading more from you.

Aaron Wakling


Neil Duckett on February 1st, 2008 at 1:36 pm #

I’ve had to cut smartyhost loose too Paul, too much down time, no after hours support, all round poor service.


mariam on February 2nd, 2008 at 9:45 pm #

Ahhhh, before I make any changes on my blog, I have to get this issue of corrupt backup files fixed. The host is working on it, but I’m kinda worried…


-Paul on February 2nd, 2008 at 9:50 pm #

wow Mariam, that is really scary… maybe its something messed up with wordpress, did you try to re-copy wordpress over itself?


mariam on February 3rd, 2008 at 12:01 am #

Most likely as the file size ballooned twice the amount and I just checked all my backups and it seems it had happened over the summer. Bummer. Luckily, I do keep a text copy of all my posts so if anything happens, I can recover… not the comments though unless I want to take a look at the db and query it to extract all the comments.


evilwoobie on February 5th, 2008 at 4:17 am #

So that’s why your site’s down sometimes when i come visit. Downtimes make me cranky too. My host promises 99.5% uptime so when it bogs down I write really long emails to them.


-Paul on February 5th, 2008 at 8:12 pm #

mariam, you can export all posts and comments from std wordpress functionality. go to php admin and do a DB repair, you should be good to go. sing out if you need a hand


Music lover on February 12th, 2008 at 7:20 pm #

Here is a tip for you, remove that image next to the adsense code.
Be careful not to get banned, cheers !


-Paul on February 12th, 2008 at 7:53 pm #

Thanks Music lover, I did check the T&C’s and the image has to be related to the ads to be against the rules. The image is a picture of my name in Japanese, not related to anything i have seen advertised in the code block.


Post a comment
Name: 
Email: 
URL: 
Comments: 
Google
 


  • Popular

    • Omatsuri ー おまつり
    • Nice Panorama Of Shinjuku
    • Kawagoe
    • PhotoHunt Party
    • Fuji-san Sunset
  • Poll

    Whats Your Favorite Tattoo?

    View Results

    Loading ... Loading ...
  • Subscribe

    • Subscribe via Feed Burner
  • Friends



    Take a Babymoon Holiday Now

  • Blogroll

    • Anyways is Not a Word People
    • Evil Woobie
    • JapanSoc
    • jDonuts
    • Learn Japanese Igo
    • My English is Engrish
    • My Life as a Gaijin
    • Neil Duckett
    • Photo Hunt
    • Ski Holidays
    • The JLPT Study Page
  • Home
  •     |    
  • About
  •     |    
  • Archives
  •     |    
  • Photo Gallery
  •     |    
  • Privacy
  •     |    
  • Work Overseas
  •     |    

Recent Readers
Featured Photos
Advertisers
Entre Card Stumble Cheats