12 Ways To Optimize Your Blog For Better Performance

Is your blog’s performance beginning to dip?
Does it takes ages to do the simplest of tasks?
Chances are, your blog needs a health check.

With a growing blog, comes the responsibility to meet its needs and demands.
Blogging platforms are great, however, they also tend to use up a lot of resources as they grow – it’s just their nature.
So therefore, to keep the ship steady, regular maintenance is essential.

On this blog, I’ve had a few blackout moments, when everything grinds to a halt, nothing seems to work, and in most cases, I’ve had my hosting company to thank, for placing me on a dodgy server (145) hmmm.
It’s still an on-going process in my quest for better performance.

Why is My Blog Running Slow?

There could be many reasons for this :

  • Traffic Levels.
  • Growth/size of your blog.
  • The size of your images.
  • Badly written codes.
  • Too many components.

What is Slowing Down my Blog?

Well, the answer to this is relative. It really depends on your setup.
That said, there are tools that can help you identify some problem areas.
Pingdom is free service that provides information of how long your web page takes to load, and also breaks down what actions are being performed and the time taken.
This detailed stats would give you some indication of areas that may need attention.

How Do I Increase My Loading Speed?

There are several approaches you can take to solve this problem, they range from optimizing your blog, to drastic ones, such as changing web host.
I would recommend doing some general house-keeping FIRST before considering switching hosts. You don’t want to end up with the same issues even after switching hosts.

Below are some possible solutions that may improve things.
I will assume at this stage that you are using WordPress, although some of these tips can be applied to other CMS platforms.
These recommendations have been tried and tested on this blog [Wordpress Build 2.9.1]
Although, there’s still room for improvement, there has been a noticeable improvement in loading speed. Trust me, it was extremely slow before.

At this stage, your first action is to back-up your database.
You may already have a scheduled job in place, but if possible, carry out a manual back-up.

[1] Remove unused plugins
You’ve probably stumbled across a fancy plugin in the past that you no longer use – get rid of it.
It is of no use having themit sitting on your server. The aim here is to get your server as lightweight as possible.
Procedure: Under Manage Plugins > De-activate > Delete.

[2] Optimize Your Images
If you regularly use images within your blog post, ensure they’re optimized.
You can use programs such as Photoshop or Fireworks to optimize your images for the web.
Procedure: In your favourite graphics application, export images using ‘Save for the web‘ option.

[3] Remove unused Images From Your Server.
It quite easy to accumulate images in wordpress without realising, some of which you don’t use.
Especially duplicates or images of different sizes residing on your server.
Procedure: Using an FTP client, browse to images folder, normally titled uploads in wordpress. Next remove unused or duplicate images. Test to make sure you haven’t broken anything.

[4] Upgrade your Blogging platform.
Always be on a look for the latest version of your blogging software. In most cases, a release build would address bug/security issues, performance related fixes and so on.

[5] Update Plugins.
The same goes for plugins, update them when you can. But note, any previous changes made to a plugin may be lost during an update.

[6] WP Super Cache
If you haven’t done so already, I recommend you install WP Super Cache.
This is quite a popular wordpress plugin to have – because it works.
Here’s what it does:
Instead of loading heavy PHP scripts each time a user visits your page, WP Super Cache generates and presents most of your users with static HTML files as oppose dynamic content.
In a nutshell, It minimizes server load and presents heavy stuff only on-demand.
Get Plugin: WP Super Cache

[7] Remove Post Revisions
As you edit and create new posts, WordPress keeps a revision of your work. Which is a good thing.
But on a flip-side, these revisions can easily accumulate and be a burden on your database.
Some webmasters have actually decided to get rid of this functionality altogether, by hard-coding their ‘config’ file in wordpress.
Alternatively, you can grab a cool wordpress plugin called ‘Delete Revision’.
The plugin allows you review your revisions before deleting.
In my case, I removed 1361 revisions – that’s a lot.
Get Plugin: Delete Revision

[8] Database Optimization
To increase your page’s loading time, It’s always good practice to regularly optimize your database.
It’s a straight forward back-end process located within the PHP Admin section of your hosting control panel.
If you’re not comfortable doing this, there is a simply lightweight plugin that does the job. It actually states how much overheads you have accumulated and how much you can bring it down by.
Get Plugin: Optimize DB

[9] DB Cache Reloaded
This re-worked plugin does a neat job of caching database queries for a given page.
Get Plugin: DB Cache Reloaded

[10] WP CSS
WP CSS zips and strips away whitespace from your CSS files.
Get Plugin: WP CSS

[11] Refactor Your Code
Try to minimize the number PHP requests in your code. Where possible replace them with HTML.
Your Headers and footer files are usually good places to start.

[12] Upgrade Your Hosting Service
After you have exhausted all options and you’re still experiencing loading issues, it might be worth upgrading or changing your web hosting service.
There are three main types of web hosting solution – Shared Hosting, Virtual Private Server Hosting and Dedicated Hosting.
If you’ve recently started a blog, chances are your blog is residing on a shared hosting solution.

Shared Hosting

Shared hosting is basically sharing your hosting area with a bunch of other blogs and websites.
This is a popular option for most people as they are very cost effective to maintain.
On a shared hosting you are not guaranteed system resource, so if another blog within your hosting area gets a sudden influx of traffic, it may affect your blog.
Typical Monthly Cost: £3.50

VPS Hosting

A Virtual Private Server (VPS) is a hosting environment that combines the benefits of both shared hosting and dedicated hosting.
It does this by creating a virtual server that runs inside a hardware server via a partition.
Each VPS partition runs its own operating system in a secure and private environment and cannot
be accessed or interrupted by its neighbouring blogs or websites.
On a VPS environment, you are sharing limited number of users and are guaranteed some system resource.
In comparison to shared hosting, they’re a bit more expensive to run, but you’re getting so much in terms guaranteed memory and disk space.
In fact, very soon, I am looking to move this blog to a VPS environment.
Typical Monthly Cost: £30

Dedicated Server Hosting

Dedicated hosting is simply renting your own machine which you can configure to meet your needs.
Maintaining a dedicated server can be very expensive.
Typical Monthly Cost: £200

Better Performance Check-list

Here’s a quick checklist to help improve your blog’s performance.

  • Delete unused plug-ins
  • Reduce the size of your images
  • Simplify your php and css code.
  • Update your plugins
  • When available, upgrade your blogging platform
  • Upgrade your hosting package
Procedure: In your favourite editor, export images using ‘Save for Web‘ option.

Have I missed anything else?

  • http://web2andmore.net Kevin Tea

    John, I am an absolute devil for plug ins, many of which are not used but which I have deactivated but not uninstalled. I really do need to have a clean out but lucily you have recommended some others for me to play with!

  • http://web2andmore.net Kevin Tea

    John, I am an absolute devil for plug ins, many of which are not used but which I have deactivated but not uninstalled. I really do need to have a clean out but lucily you have recommended some others for me to play with!

  • http://yourblogtools.com/ Johnluffa

    Only on the condition that you get rid of the ones you no longer use :-)

  • http://www.yourblogtools.com/ John Lufadeju

    Only on the condition that you get rid of the ones you no longer use :-)

  • http://www.mikeslife.org Mike CJ

    Good post, I think you covered everything. Funnily enough I posted about hosting today, for the same reason.

  • http://www.mikeslife.org Mike CJ

    Good post, I think you covered everything. Funnily enough I posted about hosting today, for the same reason.

  • http://yourblogtools.com/ Johnluffa

    Yeah, I noticed that from your tweets. Erica shared something similar the other day too.

  • http://www.yourblogtools.com/ John Lufadeju

    Yeah, I noticed that from your tweets. Erica shared something similar the other day too.

  • http://twitter.com/krenee76 Kiesha

    Thanks! You've always got great tips. I've noticed so slowing on my blog and I thought it was just my computer until I tried it at another location and experienced the same issue. I've definitely got to do some cleaning – people are impatient and on the go, I don't want to lose them simply because my site is loading to slow…

  • http://twitter.com/krenee76 Kiesha

    Thanks! You've always got great tips. I've noticed so slowing on my blog and I thought it was just my computer until I tried it at another location and experienced the same issue. I've definitely got to do some cleaning – people are impatient and on the go, I don't want to lose them simply because my site is loading to slow…

  • http://yourblogtools.com/ Johnluffa

    Same here Kiesha, my wake up call was when I loaded my blog on my mate's machine – It was a painful experience.
    What's your blog's URL?

  • http://yourblogtools.com/ Johnluffa

    Same here Kiesha, my wake up call was when I loaded my blog on my mate's machine – It was a painful experience.
    What's your blog's URL?

  • http://yourblogtools.com/ Johnluffa

    Same here Kiesha, my wake up call was when I loaded my blog on my mate's machine – It was a painful experience.
    What's your blog's URL?

  • http://yourblogtools.com/ Johnluffa

    Same here Kiesha, my wake up call was when I loaded my blog on my mate's machine – It was a painful experience.
    What's your blog's URL?

  • http://www.yourblogtools.com/ John Lufadeju

    Same here Kiesha, my wake up call was when I loaded my blog on my mate's machine – It was a painful experience.
    What's your blog's URL?

  • http://jimijones.com/ Jimi Jones

    Good post, John

    Making a note of the Pingdom, sounds good for testing load speeds in general. I will have to check that out.

    WP-Optimize is a great plug-in that I use for keeping the database optimized. It removes all spam, post revisions, unapproved comments and optimized the database files with one click. May want to check it out if you are not using it. Free download at
    http://wordpress.org/extend/plugins/wp-optimize…. You can scroll down the dashboard as see what if any files need optimizing and it tells you how many post revisions there are.

    I have developed a habit of optimizing before logging out (if needed). Tales about 2 seconds.

  • http://jimijones.com/ Jimi Jones

    Good post, John

    Making a note of the Pingdom, sounds good for testing load speeds in general. I will have to check that out.

    WP-Optimize is a great plug-in that I use for keeping the database optimized. It removes all spam, post revisions, unapproved comments and optimizes the database files with one click. May want to check it out if you are not using it. Free download at
    http://wordpress.org/extend/plugins/wp-optimize…. You can scroll down the dashboard and see what if any files need optimizing and it tells you how many post revisions there are.

    I have developed a habit of optimizing before logging out (if needed). Takes about 2 seconds.

  • http://lifestyledesignforyou.com Gordie

    Thanks for this John.
    I'm going to go through first a delete images that I no longer use. I switched all my images to my own photos, so there should be some. Also like the idea of deleting revisions. Cheers.

  • http://lifestyledesignforyou.com/ FlashyKiwi

    Thanks for this John.
    I'm going to go through first a delete images that I no longer use. I switched all my images to my own photos, so there should be some. Also like the idea of deleting revisions. Cheers.

  • donnyien

    Hi John,

    Great tips!my blog's performance a bit slow,i install many plug ins,should i remove those deactivated plug ins for better performance?

  • donnyien

    Hi John,

    Great tips!my blog's performance a bit slow,i install many plug ins,should i remove those deactivated plug ins for better performance?

  • donnyien

    Hi John,

    Great tips!my blog's performance a bit slow,i install many plug ins,should i remove those deactivated plug ins for better performance?

  • donnyien

    Hi John,

    Great tips!my blog's performance a bit slow,i install many plug ins,should i remove those deactivated plug ins for better performance?

  • http://yourblogtools.com/ Johnluffa

    I like the sound of it already.
    Seems to be a great All-rounder plugin, as it is handling a number of tasks.
    I shall give it a try. If all is well, It may replace 'Optimize DB' and 'Delete Revision' plugins – who knows

  • http://www.yourblogtools.com/ John Lufadeju

    I like the sound of it already.
    Seems to be a great All-rounder plugin, as it is handling a number of tasks.
    I shall give it a try. If all is well, It may replace 'Optimize DB' and 'Delete Revision' plugins – who knows

  • http://yourblogtools.com/ Johnluffa

    Yes, I would remove the deactivated ones.
    You can store them locally if you need them in the future, the main thing is to keep them off your server.

  • http://www.yourblogtools.com/ John Lufadeju

    Yes, I would remove the deactivated ones.
    You can store them locally if you need them in the future, the main thing is to keep them off your server.

  • http://yourblogtools.com/ Johnluffa

    Yes, I've noticed that.
    I've got to say, the camera likes you :-)

  • http://www.yourblogtools.com/ John Lufadeju

    Yes, I've noticed that.
    I've got to say, the camera likes you :-)

  • jimhardin

    These are some really great tips. I really didn't know some of these. Like post revisions. I do have quite a few post revisions that maybe I should take care of. I have heard that too many plugins can slow you down and have tried to keep them down and delete the ones that I don't use or have no use. I do use the Super Cache, but I didn't know about Database optimization. I have to look into that.

    Thanks John I really appreciate the tips!
    Jim

  • jimhardin

    These are some really great tips. I really didn't know some of these. Like post revisions. I do have quite a few post revisions that maybe I should take care of. I have heard that too many plugins can slow you down and have tried to keep them down and delete the ones that I don't use or have no use. I do use the Super Cache, but I didn't know about Database optimization. I have to look into that.

    Thanks John I really appreciate the tips!
    Jim

  • jimhardin

    These are some really great tips. I really didn't know some of these. Like post revisions. I do have quite a few post revisions that maybe I should take care of. I have heard that too many plugins can slow you down and have tried to keep them down and delete the ones that I don't use or have no use. I do use the Super Cache, but I didn't know about Database optimization. I have to look into that.

    Thanks John I really appreciate the tips!
    Jim

  • http://eblogtip.com/ Tinh

    To optimize image, I would suggest Smush.it plugin that can reduce up to 80% of image size

  • http://eblogtip.com/ Tinh

    To optimize image, I would suggest Smush.it plugin that can reduce up to 80% of image size

  • Pingback: A Move To VPS Hosting | Your Blog Tools

  • Pingback: | Trace Family History Online

  • Pingback: Video | Trace Family History Online

  • http://justinsbrainpan.com/ Justin Matthews

    thanks for some good tips here. I just cleaned out a bunch of unused plugins and noticed my site does load faster!
    I am going to have a go at my pictures now.

  • http://www.yourblogtools.com/ John Lufadeju

    It's my pleasure Justin – I'm glad you're able to improve your loading times.
    It's actually a good exercise to carry out every now and again.
    Thanks Justin.

  • http://www.air-jordan-17.com air jordan 17

    It looks good,I have learn a recruit!
    Recently,I found an excellent online store, the
    sall4.net are completely various, good quality and cheap price,it’s worth buying!

  • http://www.nikemaxsale.com air max shoes

    Well , the view of the passage is totally correct ,your details is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum!friednoodle

  • http://www.air-jordan-9.com air jordan 9

    Well , the view of the passage is totally correct ,your details is really reasonable and you guy give us valuable informative post, I totally agree the standpoint of upstairs. I often surfing on this forum when I m free and I find there are so much good information we can learn in this forum! http://kite8.net/

  • http://www.moncler-jackets-outlet.com moncler men

    A closely taste of various characteristic snack. Experience the excitement of tasty and spicy, relax and enjoy the fresh of delicious.Here's sites presen various clothing fit for couple dating, friends dinner and banquet.<a href=” http://www.see-for.com“ >see for

  • http://www.discount-nike-dunk-shoes.com nike dunk

    Hhe article's content rich variety which make us move for our mood after reading this article. surprise, here you will find what you want! Recently, I found some wedsites which commodity is colorful of fashion.
    http://www.inin-from.com

  • http://www.uggs-outlet-store.com UGG boots

    I am also a XX fan who really like this! I also like XX, and purchase lots of it every time,
    <a href=” http://www.always11.net“ >always11
    like-minded friends can have a look ,we can communicate by the way~~

  • http://www.cheap-nikeshox.com/nike-shox-TL3.html shox t11 women

    Here elaborates the matter not only extensively but also detailly .I support the write's unique point.It bravecursing.com is useful and benefit to your daily life.You can go those sits to know more relate things.They are strongly recommended by friends.Personally

  • http://professional-suggestion.com/ Uninstall Program

    Thanks for your article! It's very helpful for me!