HOSTING

Why is my website slow?

02:09 Thursday Jan 29, 2015

            

So often we are asked why someone's website is slow to load - and the answer is never a simple one. Bottom line, most people's perceptions about their own website's speed is based on a minority of negative feedback, not the majority of 'no feedback' as the site works the way people expect 99% of the time. However, a technical explanation maybe in order to quell frayed nerves and put people's minds at ease.

There are a number of factors that determine website speed - and surprisingly, your website developer has little to no control of most of these factors. In this article we will look at all factors and see what can be done to improve load speed to ensure you get the best results from your website.

The Render Path

Let us start by looking at the various components that determine the speed of a website.

When a request for a page is made, the Front-end and Server-side components both take a certain amount of time to complete their operations. Since their operations are essentially sequential, their cumulative time can be considered the total page load time.

Even after you've optimized your Front-end, speed gains can still be achieved by optimizing the Server-side. This means optimizing the way the page is generated by your server.


click on image to enlarge

A good indicator of your Server-side performance is the time it takes to generate the HTML page (page generation time). Generally, this time should be kept under one second (or as low as possible). The magic figure for a web application is under 20ms - this is considered an instantaneous load time in computer terms. After all, consider that the time it takes us to blink is 400ms, under 20ms is ludicrously fast.

Of course, servers can speed up and slow down as the load on the server increases or decreases. However, you can get an idea of what the server's is capable of on its best day to see what the optimum speed is. After all, it simply cannot get any better than this speed. However, you need a measurement directly from the server to be able to judge this. The "Waiting" time on the first element in the waterfall graph (also known as the "time to first byte") also includes the amount of time it takes for the signal to get from your computer to the server and back - otherwise known as the Ping time (NOTE: to see this waterfall graph, look under Network tab on the browser when you right click on the page and Inspect Element).

We have seen a website platform that had a Page Generation speed of 16ms (on its best day) - which is very, very impressive for a database back-end, CMS system with the level of functionality that it boasts of (contact us for the name of the system).

Obviously, the further away your computer is from the server, the longer it will take for signals to ping backwards and forwards. Also, the load on the internet connection will affect this ping time. You only have to look at the graph generated by www.speedtest.net when you are testing your own internet connection's speed to see the variance in traffic on your connection. (NOTE: sometimes the graph jumps up, then bottoms out - this shows you how your 10MB connection has an awful lot of variance in it from the time you make the request to the server for your web page and when the page finally arrives.)

However, once the server has done its job, all the factors that determine speed are pretty much out of the hands of the web developer. Yet the web designer may have a part to play in what is sent by the server, which does determine speed.

Large or unoptimized images, long scrolling pages, too many products on one page, auto playing videos and the like will clearly affect how long it takes for a page to be downloaded to your computer. That is, the larger the page (in MB terms), the slower it will load. Web designers love to blame the platform or hosting provider for slow loading websites, when they also love to get carried away with overly graphical designs with lots of page elements and fancy JavaScript, Flash or video based elements - as well as @FontFace customized fonts.

With the advent of better internet connections, it is easy to justify more graphical and complex designs. However, remember to keep this initial decision in mind when you now judge the speed of your site. Would you still prefer better branding and a smarter looking site with more functionality - or a faster loading boring website?

Do remember, your computer's speed, aggressive virus blockers and browser will also affect load speeds. This is what you do have control over.

Sometimes people tend to judge the speed of their website by comparing it with the speed of an often visited news site - or Google. Be careful. Ask yourself, "How much do these companies pay for infrastructure (hosting) and ongoing support?" Have you asked your hosting provider what that sort of budget would get you? We imagine that they would be able to promise both heaven, and a fast elevator to it, for the monthly fees that the big companies pay.

The Emotional Response

So often our perceptions (or beliefs) about how fast our website loads depends on the feedback we get from clients and friends. If they tell us it's bad, then we reason that it must be. We almost always fail to look at the stats and weed out the whining from the reality.

I imagine that if we owned Google, we similarly would harshly judge all the times when the internet connection was slow, or our browser's cache was loaded with temp files and the site took too long to load. We would see every negative comment as reinforcement of our dim view of the infrastructure and code of our system and start a war against those 'responsible'.

Unless, of course, we were the ones who wrote the code and built the infrastructure, then we would be carefully judging every aspect of the system before jumping to conclusions. But as website owners, we arn't that person - and our technical knowledge is finite - or non-existent. So we would rather listen to those we love, or who our business serves, instead of the technical guy trying to 'pull-the-wool-over-our-eyes' with fancy computer jargon.

Hence this article to try and provide some semblance of balance from an independent perspective.

It always pays to take a step back and look at the facts - especially when not doing so would cost us a full redesign of our website and the breaking of a relationship that may have taken years to develop. Take a deep breath and gain some perspective, then discuss what you have learned with an open mind and an ear for reason.

This article should help you determine fact from fantasy and tell when your provider is truly being way too tricky to trust any further with supplying your valuable marketing and business tool (your website).

 

< Back

    Add your comment

    We aim to have healthy debate. But we won't publish comments that abuse others

    1200 characters left

     

     

    LATEST NEWS

     
      

    © copyright 2013 Website News. All rights reserved.

     

    SECTIONS

    ABOUT

    SUBSCRIBE

     

    Website News is for and about the website design, development, marketing industry. We will endeavor to bring you up-to-date news and information to help you in your work as well as give you useful information and tips for your clients and their businesses.

    We are always keen for you to submit any information you find from elsewhere, or about your business, that you feel will be relevant.

     

     

     

     

    Contact Us:

    For advertising enquiries or to submit a story, please email us at: editor@websitenews.co

     

    Login

    Website News

    Sign-up to Website News and create your universal Woogloo ID

    Your details

    Your login details

    Your address


    Is your address not being found?

    Company

    Company address

    Yes No


    To register on the Website News website you either need to use your
    exisitng Woogloo ID or create a new one (see below).

    Sign Up

    Why sign up?

    • Get access to Registered User's priviledges, which may include hidden pages, special features and special pricing, if they exist, on this website.
    • Get access to all sites powered by Woogloo V3 without having to enter your details everytime.

    Login Error

    Forgot your password?

    Enter your email address below and click 'Reset Password' Button




    What is a Woogloo ID

    Logging in...