WordPress on Speed: 17 Tweaks to Accelerate your Blog

For most bloggers, the bigger the audience the better. And when it comes to building up a regular readership, it’s hard to argue against the benefits of a fast loading blog. For both daily subscribers and one-time traffic spikes from sites like Digg, it’s vital for the growth and reputation of your blog to ensure that you always bring the bacon. Follow these steps to keep your WordPress blog at the top of its game.

  1. Use gzip compression. You can optimize your blog with gzip compression. Simply access your WordPress Admin Panel and go to Options. From there, select Reading, which should present you with the option of compression. Gzip compression can help your page load faster, use less bandwidth, and in certain circumstances, be beneficial to SEO as well.
  2. Get rid of unnecessary plugins. You can give your WordPress a little speed boost by removing all inactivated or less useful plugins thatyou may have hanging out in your folder.
  3. Adjust your WP built-in cache. Your WordPress blog can get a substantial boost in speed from a very simple adjustment. WordPress automatically caches many types of database queries as files on your disk, which can bog down your CPU. Simply go to your wp-config.php and change the following:

    //Enable the WordPress Object Cache: define(ENABLE_CACHE, true);

    The resulting improvement should be noticeable and it will only take a few minutes to change.

  4. Get the WP-Cache2 plugin. Instead of using built-in WordPress caching, try out this useful plugin. It’s can make your site more efficient, responsive, and noticeably faster.
  5. Nix comment reporting plugins. Comment reporting plugins are notorious wasters of server energy. While they can be useful, they suck up loads of valuable time and memory. If you can do without, get rid of these kinds of plugins altogether. If you simply can’t bear to not know every time someone comments on your blog, make sure the reports are being cached with WP-Cache.
  6. Clean up PHP: php.ini. PHP is full of tons of small modules that need to load and take up valuable time. You can reduce the amount of time this takes by accessing /etc/php.ini. From there, you can disable any extensions you aren’t using and maximize your PHP.
  7. Accelerate your PHP Opcode Cache. Instead of waiting for your scripts to recompile, you can use a program like eAccelerator, which caches scripts in their compiled state. It can shave a significant amount off of the time it takes for your blog to load.
  8. Edit your Apache httpd.conf. Your blog can get bogged down loading modules you’re not using, but changing your Apache settings can help. There are many how-to guides out there that can help you maximize the performance of this software.
  9. Set reasonable timeouts. Setting reasonable Apache timeouts can help you keep any individual thread or connection from monopolizing the system and bringing all other incoming queries down. Setting the timeout to a reasonable time limit like 30 seconds can help eliminate this problem and keep your blog speedy.
  10. Tweak your query cache. The query cache is designed to save the results of queries, but slight changes in these queries aren’t compiled and can create multiple cache entries for very similar requests. Using the WP-Cache plugin can help to speed this up, but you can also change the settings of your cache to avoid creating these multiple entries that can slow you down.
  11. Check your MySQL key cache. Check out your key cache in MySQL to see how yours is functioning. Ideally, the ratio of actual reads of your blog to requested reads should be in the range of 1:10. If it’s not, you can increase your key buffer.
  12. Optimize the MySQL thread cache. Every time MYSQL processes a request, it creates a new thread, or on some systems, forks. Some of these threads get stored and become part of your cache. In order to speed up the process, you can up the cache until the process is only left to making a few new threads. This will keep you from using up memory to create thousands of threads.
  13. Choose the right webhost. While having your own top of the line dedicated server is nice, not everyone can afford it. There are less expensive options that will give you dependable hosting andkeep your blog up and running smoothly.
  14. Employ mirroring. You can keep your WordPress blog from going offline by employing mirroring. Mirroring your content is very simple’ just sign up for a system like Corel Content Distribution Network. These mirrors do have bandwidth limits, so it’s probably a good idea to make more than one.
  15. Get better hardware. If you’re running your blog on an old, outdated PC, you’re asking for trouble. While you don’t necessarily need a top-of-the-line machine to run your blog, it doesn’t hurt to have a system that gives you a little room to breathe. Consider adding extra RAM to speed things up, or if you have the funds, invest in a faster CPU.
  16. Use up-to-date software. While it may seem pretty obvious, make sure you’re using the newest version of any software you work with. Often, improvements have been made that can greatly speed up the performance of the program.
  17. Maximize your server architecture. The amount of traffic your blog gets can determine the best way to set up your server. For some, it may be better to run everything on one box, but for others, splitting up the components into different boxes can speed things up.

Before you try out any of these tweaks, try using a program like Pingdom that can provide you with a detailed analysis of your blog’s loading time and performance. Then, you can easily evaluate how much time you’ve saved by using any of these suggestions.


  1. Penny Gould says

    Ok now I’m really scared! I want to add a WordPress blog to my site, and up until now I was blissfully ignorant of everything you just said. I am going thru with it anyway, going to take the big plunge… I will bookmark this page and come back to it when I get launched, I appreciate the time it took you to put this helpful list together!

  2. says

    Just surfing around to know about how to increase my blog loading speed, I had not imagined landing up with such great tips. Extremely helpful advice. Will work on all of them starting with getting rid of my unused plugins.

  3. says

    GREAT post. I never knew that some of those things I had activated on my WP blog were actually slowing loading time. And when it comes to blog readership, people hit that Back button too hastily when they see your page loading really slow so great stuff!

  4. iDrink says

    Was looking to do the tweaks you have suggested and it is strange my config.php does not have the line you propose (2.5).

    Or do you mean to add it?

    Cheers and thanks for the tip!

Leave a Reply