One of the best features of WordPress and many other blogging platforms out there are the ability to run plugins. Plugins extend the functionality of the blogging software by adding new features to the software. However, with this additional power comes the side effects–poorly written code. Because anyone can write plugins and release them, poorly written plugins are released into the wild where they are installed if they add functionality that a blogger wants on his/her blog. Some of these plugins make excessive calls to the database, or are slow to render results which slow down a blog.

As a blogger, it is important that you be aware of your blogs load time when adding plugins to your blog. I have come across some very slow loading blogs lately, and I suspect it is due to plugin bloat. If you are hosted on a smaller web host, they may not have adequate database resources. Blogs that are hosted on these smaller web hosting services will suffer in performance when loaded with too many poorly written plugins. If you want to check if you have plugin bloat, add the following code to your footer (or wherever you want it displayed) and it will show you how many queries it takes for the page to load. A query is a single hit to the database to retrieve information. The more queries there are, the longer it will take for your page to load.

  • <?php echo $wpdb->num_queries; ?>

    - Note, the code is for WordPress bloggers

    As a reference, Hate The Grind takes 18 queries to load up the main blog page but if you have a lot of plugins loaded, the number can be as high as 80 - 100 queries. Try removing one plugin at a time to see how efficient they are and consider replacing the plugin with a different one that does the same thing–but with less queries.

    Blog Load Time


    Load Time for my Blog

    Another thing to look into is how long it takes for your blog to load. There are tools out there that will check but many of them are inaccurate because they do not take into account more advanced code on the page–they simply ignore it and load the html. One tool that does load up everything including images, ajax/javascript code, flash, etc is Web Wait. If you click on the link there, it will load up my blog. According to Web Wait, my blog takes on average about 1.56 seconds to load. Go try your blog to see how it is performing.

    Did you like this post? If so share with others: These icons link to social bookmarking sites where readers can share and discover new web pages.
    • Netscape
    • Reddit
    • del.icio.us
    • StumbleUpon
    • Digg


    Other posts you may be interested in:

  • Put Your Blog On A Diet And Make More Money
  • Extending WordPress With Plugins
  • Intel Shows off 80 Core Processor
  • Ranked #1 on Google
  • Feedburner Premium Services Now Free!