• Home
  • About Us
  • Contact Us
  • Press
  • Blog

Improve Website Load Time

by Misty

As promised in our Pubcon Overview post, here is a real world example of what we did to improve the website load time for one of our sites. These are rough notes on what was performed on a real website,  how the implementation of each task was done and how it improved the website load time.

The first thing we did was run the website through http://www.webpagetest.org. This is a free tool that will break down your website performance and give each area a score. After we ran the site through this tool, we were presented with a lot of suggestions on how to optimize the site. Following is a break down of each.

Initial website load time

Initial page load results

First Phase [Optimize images for faster page load time]:

From the test we saw many images that needed to be reduced (optimized). We went through these images and reduced the file size and from just that we were able to notice a relatively significant decrease from the load time. As you can see from the before and after screen shots below, we were able to cut back almost 200 KB from our images without resorting to a reduction in quality.

Image Compression

Before and after results from compressing image sizes – note the dramatic increase in score after the changes were put in place

Second Phase [Combine JS/CSS Files faster page load]:

We initially had three separate CSS files that were being used for different aspects of the same overall style, which was causing the server to have to unnecessarily download three different files. We combined the three CSS files into one, which saved about one second from the load time.

If you are using WordPress, the WP-Minify app makes this very simple. Merely install the plugin and it will combine Javascript, CSS, and HTML files automatically. We’ve found that this works best when using the Thesis theme, as there have been compatibility complications with other themes.

Combine Javascript/CSS

Before and after results from minifying Javascript and CSS files – note the increase in score after the changes were put in place

Third Phase [Enable GZIP Compression for faster website load time]:

This is more techie but it did improve load time. First make sure your host has compression turned on. Once that is confirmed you can control the GZIP compression through your .htaccess file. I won’t go into detail about what each setting means because there is already a ton of documentation about this on the web.

(A good resource is http://www.askapache.com/htaccess/apache-speed-compression.html)

Instead I will simply provide a screen shot with what we placed in our .htaccess file for the site we tested this on and leave it up to you to read more about what these settings mean.

htaccess GZIP Example

htaccess GZIP Example

Forth Phase [Minimize serving images and other files from other sources ]:

One of the sections on this particular site was using an API to pull in data. This API passes image urls from another server so this section was having to download and serve the images from that server each time the pages were loaded. We made some modifications to this script so instead of serving the images from the other server, it saves a copy of the image on our server and loads that copy.  This cut off at least 2 seconds from our page loads. While it is not always possible to load everything from your own server (e.g. Google Analytics, Adsense code, etc.) you should minimize this as much as possible.

So that’s the low down of how we improved the load time on one of our websites. We may tweak these settings some more and will document it here if we do, but for now we are satisfied with the improvements. We would love to hear any other tips you may have.

Final website load time

Final page load results
Share and Enjoy:
  • Facebook
  • TwitThis
  • LinkedIn
  • del.icio.us
  • Google
  • StumbleUpon
  • Technorati
  • Digg
  • Mixx
  • Tumblr
  • Yahoo! Buzz
  • E-mail this story to a friend!

November 29, 2010 · Filed under Apps and Tools, SEO

5 Comments »

  1. PubCon Overview Said,

    November 29, 2010 @ 9:35 pm

    [...] on how to improve your website page speed.  Rather than regurgitating what was discussed, we  implemented some of these suggestions on a few of our sites and documented the process along with before and after page load [...]

  2. Candis Said,

    November 30, 2010 @ 11:19 am

    It sounds like you reduced at least 3 seconds from the load time of your pages, which is a pretty big deal when people are surfing the web! What is the last grade, “Use of CDN”, and what does it mean?

  3. Misty Said,

    November 30, 2010 @ 11:30 am

    Yes about 3 seconds on some of the more heavy pages.

    CDN = content delivery network. You can learn more about it from http://en.wikipedia.org/wiki/Content_delivery_network

    Many website owners host their website images, style sheets, videos, etc. on a CDN. I plan to sign up for the Amazon CloudFront CDN.

  4. Victor Said,

    December 26, 2010 @ 9:56 am

    Better use http://siteloadtest.com

    CDN benefit is a pure lie.
    Maybe 1% of all websites in the Internet could benefit from CDNs.

  5. Misty Said,

    December 26, 2010 @ 4:05 pm

    Victor – please elaborate on your opinion about CDN.

Leave a Comment

  • Subscribe to our blog

    Get RSS Feed

    SUBSCRIBE VIA EMAIL
    Enter your email address:

  • Post Categories

    • Advertising
    • Apps and Tools
    • Blogging
    • Business Branding
    • Company News and Updates
    • Email Marketing
    • Jobs
    • Marketing Tips
    • Online Classifieds
    • Online Marketing
    • Organization
    • Real Estate
    • SEO
    • Social Media
    • Social Networks
    • Technology Tips
    • Twitter
  • Our Brands

    • ClassifiedFlyerAds
    • EmailFlyerAds
    • RealShout
    • RentShout
    • TwitBacks
  • Latest Posts

    • Why a mobile friendly website is worth the investment
    • FaceItPages Launches White Label Program
    • Go Smart 2010 Year In Review
    • Is Google Going To Ruin Reviews?
    • Improve Website Load Time
  • Topics

    800 numbers Advertising Blogging blog subscriptions branding brand monitoring business business marketing classifiedflyerads classified flyer ads cut costs cut expenses email newsletters google google alerts google and twitter Google feed reader google search how to create a twitter background inman connect listing syndication marketing monetize Twitter online 800 number service online advertising Online Marketing print advertising real estate newsletters real time search rentshout ring central SEO targeted online advertising Technology Tips trulia tweets in google twitbacks Twitter twitter backgrounds twitter changes twitter feeds twitter in google twitter search wordpress writing tips
Our Brands   |    About Us   |    Contact Us   |    Press   |    Blog

Copyright © 2009 Go Smart Solutions, LLC.