How to speed up WordPress easily

Blogging » Trackback-URL Add comments

I update this post with some additional techniques of speeding up WordPress. Sometimes, you hear bloggers say, their WordPress powered blog gets slower and slower and - while experiencing a traffic peak - it even passes away. Here are some quick methods to speed up Wordpress and reduce its need of ressources.

How to speed up WordPress

There are several ways to speed up your WordPress blog. Try these:

Use WordPress cache to speed up your blog
WordPress can cache all database queries on your server´s harddisk. Just add the following to your wp-config.php:

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

I added this to my config-File and have to say, even though this blog does not yet encounter >10.000 Visitors per day, it really impoves WordPress performance and makes this blog faster than it used to be before.

Reduce dynamic PHP calls
This can improve your WordPress performance by up to 25%. Look at your header.php file in your theme-folder. Within you´ll find many lines of PHP code that will display information on your blog, which stays the same every time. Each of these PHP calls has to be processed by your webserver and triggers a database connection what takes some time and it can really add up. So why not replacing these calls to static code?

Example:

<title><?php bloginfo(’name’); ?> <?php bloginfo(’description’);?></title>

This line graps the name of your blog and it´s description from the database and displays it as HTML. Do you change the name and the description of your blog so often that it needs to be display dynamically? Problably not, so no problem with replacing this to static HTML.



<link rel="alternate" type="application/rss+xml" title="RSS" href="<?php bloginfo('rss2_url'); ?>" />

This tells the browser if and where it can find your RSS-Feed. Has your feeds URL ever changed? Why not putting in the actual URL of it instead of a PHP call which grabs it from the database?

There are even more PHP calls which can be replaced easily, not only within header.php, have a closer look at your single.php and footer.php files as well. They are all located in your themes folder.

Speeding up WordPress - the basics
When it comes to speeding up your WordPress blog, just go and read these valuable tips, I have collected for you:

I would like to hear from you if these little tweaks had a positive effect on your blog, please leave a comment with your results.

Thank you for visiting my blog. There are new posts here every day. Staying updated is easy: Just subscribe to my RSS feed or subscribe to FREE eMail updates. Thanks for visiting!



Enjoyed this article?
Please subscribe to my RSS Feed!


Subscribe by Email
Get notified by email  on every new article!



Tags speed up wordpress, survive digg, wp-cache

The Latest From the Top Blogs About Blogging...

23 Responses to “How to speed up WordPress easily”

  1. GnomeyNewt Says:

    Thanks for your entry into my group writing project. I’m trying out this tip right now!

  2. Marco Says:

    Hi Sarah,

    please let me know you experiences on this.

  3. Steve Says:

    http://dougal.gunters.org/blog.....ject-cache

    That’s a great article on extending the cache funtion, should you need to.

    Cheers,
    Steve.

  4. Madhur Kapoor Says:

    I am going to try this and will let you know .

  5. MDB Says:

    Is it really that simple?! There is no downside? Will try it out.

  6. JoLynn Braley Says:

    Hi Marco,

    Before making this change, do you have to verify the amount of disk space you are alloted with your host? Thanks!

  7. Marco Says:

    Hi JoLynn.

    You´re right, this will need some extra disk space on your server. Check your free amount with your hosting company, but most plans should offer far enough disk space to do this. No problem.

  8. JoLynn Braley Says:

    Thanks Marco! :)

  9. TechZilo Says:

    I have voted for you among my top-3 favs. I hope you get more votes - this is an easy, yet effective tip.

    Like someone asked earlier, is there any sideffect to this? Also, what is the time difference between, say posting a comment/post and it appearing on the blog?

  10. Marco Says:

    TechZilo, thanks for the vote.
    The WordPress Cache does not speed up the process of posting a comment or an article. It just saves your pages in a static version, so it can be displayed to a visitor faster than normal, as a wordpress page does require several database access before displaying that page. Thus, it just saves the time, your server will need to deliver a page to the users browser.

  11. Vassilis Says:

    Interesting…

Leave a Reply

12 Trackbacks so far

  1. “How-To” Group Writing Project: Final Entries List | bluejar.com - the webmasters guide to the galaxy

    […] by Steven Snell How To Nail That Job Interview In The First Thirty Seconds by Martin Stoddart How to speed up WordPress easily by Marco Simple way to Track Downloads by Shrihari How to Speed up your Torrent downloads by Felix […]

  2. Bluejar’s Group Writing Project : My picks

    […] How to speed up WordPress easily by Marco […]

  3. BlueJar Contest: Voting My Favourites

    […] by Steven Snell How To Nail That Job Interview In The First Thirty Seconds by Martin Stoddart How to speed up WordPress easily by Marco Simple way to Track Downloads by Shrihari How to Speed up your Torrent downloads by Felix […]

  4. Favourite BlueJar Group Writing-Project entries

    […] HowTo: Speed Up WordPress easily: I am a WordPress performance enthusiast, though I am not an expert(still learning). I love reading articles on how to optimize/speed-up WordPress. This post shows you a simple way to cache your blog and speed up WordPress. […]

  5.   blueJAR.com “How To” Group Writing Contest - My Top Picks by Internet Marketing Mind

    […] How to speed up WordPress easily by Marco […]

  6. » Why You MUST Write Better Headlines J-NE.WS: The “Social Viral Marketing” Weblog: Using Social Media to drive Viral Marketing

    […] by Steven Snell How To Nail That Job Interview In The First Thirty Seconds by Martin Stoddart How to speed up WordPress easily by Marco Simple way to Track Downloads by Shrihari How to Speed up your Torrent downloads by Felix […]

  7. Bluejar Group Writing Project: My Picks

    […] by Steven Snell How To Nail That Job Interview In The First Thirty Seconds by Martin Stoddart How to speed up WordPress easily by Marco Simple way to Track Downloads by Shrihari How to Speed up your Torrent downloads by Felix […]

  8. Bluejar Group Writing Project: My Picks - Contest Beat

    […] by Steven Snell How To Nail That Job Interview In The First Thirty Seconds by Martin Stoddart How to speed up WordPress easily by Marco Simple way to Track Downloads by Shrihari How to Speed up your Torrent downloads by Felix […]

  9. Roberta Ferguson » Blog Archive » BlueJar Group Writing Project - My picks

    […] by Steven Snell How To Nail That Job Interview In The First Thirty Seconds by Martin Stoddart How to speed up WordPress easily by Marco Simple way to Track Downloads by […]

  10. BlueJAR How To Group Writing Contest | Karol Krizka

    […] How to speed up WordPress easily by Marco […]

  11. 150+ Tips and Tricks to Make Money Online | Anthony Jude Lawrence Dot Com

    […] How to speed up WordPress easily by Marco […]

  12. Gurumonetizer Money Making Machine » Internet Marketing Tips 9/17/2007

    […] How to pace up WordPress easily Marco Richter shares a add gimmick for motion up your wordpress blog. I capableness essay this on my book in the nearby future. […]

N.Design Studio
Entries RSS Comments RSS