WordPress load time – how to speed up your blog loading time

Your wordpress loading time is a point that can be accidentally overlooked when your developing your blog but its of paramount importance that you address the time to load regularly to keep it healthy and keep your visitors happy.

Why is it important to address your WordPress load time?

Don’t underestimate load times on a site or blog, especially your own. Just to make the point, lets illustrate.

If you click this image below:

Wordpress load time   how to speed up your blog loading time

It opened a page with an image of your site that a first time visitor will experience for the first few seconds. If this stays the same for longer than 3 seconds, how does it make you feel.

  • Is it worth waiting on? (impatient)
  • Is it actually loading? (uncertainty)
  • LOAD DAMMIT! (frustration)

Not the best way to introduce someone to your site is it?

The importance of your blogs load time

While you may look at your blog everyday, its easy to become complacent about your blog load time especially if its cached on your computer after the first visit making it appear  to load faster than it actually does, but that’s only for you.

Lets put it into reality here to show how important load time is. Have a read at this:

According to research if your blog takes more than 3 seconds to load you are losing around 40% of your visitors.

That rate goes to 90% if it takes more than 8 seconds to load.

rumblingImprove load time of your blog

A 40% loss of traffic is bad, a 90% loss is ridiculous!

For Google an increase in page load time from 0.4 second to 0.9 seconds decreased traffic and ad revenues by 20%. For Amazon every 100 ms increase in load times decreased sales with 1%.

Gabriel Svennerberg

What a fickle bunch we are!

Fortunately, with a little bit of graft, a few excellent wordpress plugins and some handy applications and extensions, addressing your blogs loading time shouldn’t be a big issue and can be addressed quite simply IF you are able to code.  There are a few plugins that are helpful, but they can only do so much unfortunately.

Fist of, check out the post 40 essential tips for wordpress blogs – Joost De Valk and the first section:

Making your WordPress Blog FAST

and

Maintaining your WordPress Blog

Done that?  Good.

Now here are a few other handy tools and firefox plugins and google apps you can use to go a little deeper and get that blog load time even lower.

**Before we start I would suggest you keep a note of this page address as this process requires you to restart your browser a few times to complete installations. Wouldn’t want you getting lost half way through would we!**

If you want the short version of this and don’t need to follow all the info and instructions  below I thought it would be a good idea to do an overview for those folks who like things in a convenient short list:

  • Downlod install Firefox
  • Install Firebug
  • Install YSlow
  • Install Google Page Speed
  • Open your site
  • Activate FireBug
  • Along the FireBug options bar choose the extension and run
  • Digest the data and address the errors

Now for more details.

Page Load time extensions guide

The first thing you will need is to Download and install Firefox to use these apps.

Once your done, you will need this handy plugin for the browser called FireBug (an essential tool for any designer or developer anyway). Once its installed you will be able to activate the extension by clicking the little bug icon in the bottom right of your browser screen while you have your website open.

Wordpress load time   how to speed up your blog loading time

When you open the extension you will end up with a screen like this:

Wordpress load time   how to speed up your blog loading timeClick the image to enlarge

FireBug alone is a great plugin for editing CSS code but its the next two extensions that address the page load time.

YSlow – blog load time analysis

Yahoo!’s rules for high performance web site.

Install the extension YSlow. This extension focuses on Yahoos criteria for page load times and will report back on errors and areas to be addressed on your blog.

Once you have it installed you will see the icon for the extension beside the FireBug icon in your browser window.

Wordpress load time   how to speed up your blog loading time

Open your site and while viewing hit the YSlow icon to be presented with this:

Wordpress load time   how to speed up your blog loading time

Run the test on your blog to begin the analysis and get a report on items that need to be addressed. Each area is graded from A to F, A being perfect and F being bloody terrible. All the results can be filtered by:

  • CONTENT (* Number of errors detected)
  • CSS (*)
  • IMAGES (*)
  • JAVASCRIPT (*)
  • SERVER (*)

As you click through each section it will display a list of problems and a short description of  what the error and how to resolve it.  More details are available to help you understand the error and address it directly.

At this stage your own your own im afraid as each site will be completely unique in the fixes that it may require.

*Special thanks to Ian Miller for pointing this extension out to me.

Google Page Speed

Googles open source code for best practice web page performance

Never ones to miss a trick Google, of course,  also have a FireFox extension available to evaluate your page performance and offer analysis and suggestions on errors to be addressed. Just like YSlow, the extension requires FireBug to be installed in order to work, so since we have covered that lets go straight to the download page and install it.

Install the Google Page Speed extension.

Once thats complete, open your blog or site and activate Firebug:

Wordpress load time   how to speed up your blog loading timeYou will be presented with something like this. Click on the highlighted otpion, Page Speed:

Wordpress load time   how to speed up your blog loading timeClick on the image to enlarge

You will be presented with this, just hit the button to begin the analysis:

Wordpress load time   how to speed up your blog loading time

And low and behold your presented with a report and details of all the errors that need to be addressed on your page to make it load faster evaluate the page speed. The interface is easy to understand and review and clicking on the titles will open a page with explanations and definitions to the error with recommendations on how to address them.

Clicking the “+” icon opens a list of all the pages affected by the error or causing it.

Again, your basically on your own here as each and every page will be unique in the issues that need to be addressed.

Addressing load time issues

All these options may seem a little overwhelming at first, but take you time and address the points you can do quickly and easily to begin with. Doing this should make a noticeable difference on your page load time immediately.

Some of the errors will simply boggle your mind and really I would be surprised if there’s any page out there without errors or points that could be optimised. Try running it on your Google search page to see what I mean, it even has errors and warnings.

The point it that all this is about optimising the page, not making it 100% completely perfect. Its about doing the best you can to make the time to load as little as it can be and in combination with the plugins on the other post mentioned above it should help get that load time down to a more than acceptable level for your visitors.

Best of luck all, and as per usual, I would love any comments or feedback, suggestions or points to this post, so don’t hesitate to let me know if there’s anything I have missed or could expand upon.

40 essential tips for wordpress blogs – Joost De Valk

Although its been a few weeks I had the pleasure of seeing Joost de Valk present at the a4uexpo in Amsterdam on 40 essential tips for wordpress blogs just this April past.

His session focused on optimising your wordpress blogs and a prominent part was ensuring that it was able to load quickly for visitors but also factors such as SOE, maintenance and analytics.

Slow loading sites can serious reduce your visitors experience as patience is definitely not a virtue online and its about time I addressed the points he raised. The other tips are definitely worth reviewing and applying although all the recommendations might not be applicable to your own blog depending on what your coding ability is or what plugins and features you may already have implemented.

If its easier, here’s the list of recommend pages and plugins included on the slide show to help make sure your wordpress blog is running at full capacity.

Making your WordPress Blog FAST

Slide 19: Install WP Super Cache with Gzip enabled

Slide 20: Move .htaccess directives to your server config (if possible) and disable .htaccess parsing. (what the hell is this? dont ask me how to do it, pay someone who knows.)

Slide 21: Combine CSS files into one big CSS file, same goes for Javascript which should be loaded in the footer.

Slide 22: Use CSS Sprites (see your developer if you dont know what this is).

Slide 23: Add a PHP opcode Cahce – pick one, all are better than having none. (see slide 20 for instructions in how to deal with this)

Slide 24: Kill some plugins…and try and replace them with similar ones, some plugins are god awful.

Slide 25: Still slow?  Switch to better hosting: http://www.westhost.com/blog-yoast.html (that’s an affiliate link for Joost, so if your gonna purchase hosting use it, I’m sure he would appreciate it and he kinda deserves it even though he owes me a beer).

Adding SEO to your WordPress Blog

Slide 27: Set Pretty Permalinks – Why do people still forget this?

Slide 28: Switch Blog name and Post Title – the format should be post title – blog name

Slide 29: Give Robots Directions – Noindex wp-admin, login and register pages etc. Try Joosts Meta Robots Plugin.

Slide 30: Write better Titles – Use HeadSpace2 or even All in one SEO.

Slide 31: Write Good Meta Descriptions – If you don’t, do NOT auto generate them.

Slide 32: Create Proper Pagination using wp-pagenavi by Lester Chan, f/i

Slide 33: Diasbale paged Comments… they suck.

Slide 34: Read and Implement everything in my (Joost’s) WordPress SEO Guide

Maintaining your WordPress Blog

Slide 36: Backup your database every few hours. Use Lester Chans WP-DBManager plugin.

Slide 37: Optimise your database every day using the same plugin.

Slide 38: Backup your files every day. Use WordPress Backup.

Slide 39: Check your queries. Use the debug queries plugin to check for plugins gone mad.

Slide 40: Run Askimet. Kill those spam comments.

Slide 41: Check the referrers for comments.  (Click the WP plugins Tab)

Slide 42: Remove those nonsense widgets. Technocrati rank? Well…OK. Blog Value Widget: = Nonsense.

Slide 43: Track your uptime. Use pingdom, or another tool. But be the first to know when your blog is down. (and address it immediately)

Slide 44: Check 404′s. Use the 404 notifier plugin and fix them using the redirection plugin.

Slide 45: Remove unnecessary META info.

eg:

// Remove Really simple discovery link
remove_action( ‘wp_head’, ‘rsd_link’ );
// Remove Windows Live Writer Link
remove_action( ‘wp_head’, ‘wlwmanifest_link’ );
// Remove  the version number
remove_action( ‘wp_head’, ‘wp-generator’ );

Making your WordPress Blog Social

Slide 47: Allow and encourage people to submit (share) your content. Use socialable, dammit :)

Slide 48: Doing newsletters? Add a refer to a friend button the the Thank You page.

Slide 49: Or use my(Joost’s) Comment Redirect plugin, and add the refer a friend there!  ^^

Slide 50: Use WP Greet Box, even useful on “normal” sites.

Slide 51: Make sure your comments are gravatar enabled.

Slide 52: Do the Twitter thing. Its an absurd traffic driver.

WordPress Blog Analytics

Slide 54: Use Google Analytic’s (and my*Joosts* Google Analytics plugin for it)

Slide 55: Use RSS link tagger

Slide 56: Track Twitter Traffic with Twitter Traffic Plugin

Slide 57: Install Canonical URL’s so your analytics does’nt interfere wiuth your SEO.

Slide 58: Use comment redirect to track first time commenter’s

Slide 59: Track Comments as a goal! Use an onclick Javascript with a minor delay.

Slide 60: Track RSS subscribers the same way.

Slide 61: Start optimising: Which traffic leads to more subscribers? (and yes that means forgetting about Digg).

Slide 62: Use my(Joost’s) blog metrics plugin. Improve yourself each month!

And to round it all of, heres the actual presentation itself.
*Joost, next time, make it 20 tips will you?  This took me bloody ages.
40 essential tips for wordpress blogs   Joost De Valk