Buy me a Coffee
Web 2.0 Training
 
headermask image

Random Header :: Unpredictably Exciting

What make a website slow and How to fix it !

First of all allow me to explain you the problem before I tell you how to fix it. A Typical website you are trying to open, follows a Client Server Architecture. Don’t worry, I am not going to scare you with Engineering Jargon. In Layman’s terms:

Your Browser (eg. Internet Explorer, FireFox, Opera) = Client

Website you are trying to open = Server

Client Server Model

As you can see in the above diagram, your browser makes a request to the website server, which takes X Seconds. Then that server takes Y Seconds to respond with the content, including text, images etc of that website. Finally your browser take Z seconds to render the content on your screen. Simple, isn’t it ?

Well I told you all this to explain why a website takes longer to load white another one loads in a jiffy. There are four main reasons for it:

  1. Slow Internet connection:
    • This used to the major factor in the age of Dial-up internet connection. If you still use a modem and a telephone to connect to the Internet, then chances are it the reason for slow loading of the website. Practically this is not a common reason now a days.
  2. Too much content on the Website:
    • There are few websites, which needs to display a lot of graphics, sounds, videos or flash file on the home page. All this leads to more time in loading of the homepage. Again, in the age of broadband and DSL, it is not the common factor to slow down a website.
  3. Slow Computer:
    • Well if your system happens to have less memory (RAM) or a Spyware /Virus then it could also lead to painfully slow web experience. Having said that, if you have a Anti-Virus or Anti-Spyware installed then the chances are even this is not the reason. Here is how to fix a slow computer.
  4. Invalid HTML Code:
    • Invalid HTML ! what on earth does it have to do with the slow website ? As a matter of fact, HTML is the only medium, by which server tells your browser to display a web page. Lets take a classic example, you open any website on your browser:
      • Client takes 2 seconds to send request to the server.
      • Server responds back in 5 seconds.
      • Your browser takes 20 seconds to render the page.

      What ? 20 seconds taken by the browser ??? But Why ? The reason is simple. HTML or xHTML is a collection of tags which tells your browser where to place and image, what color should be the text and so forth. But is there is some invalid HTML tags (eg unclosed tags ) then the browser is capable of debugging and fixings those invalid tags on its own. But, debugging takes a lot of time.

But how do you know it is this invalid HTML/xHTML which is forcing the website to take much longer to load ?

You can test a website at:

  1. DMW Validator
  2. Validator.w3.org
  3. Jigsaw.w3.org/css-validator

These sites will check and tell you what and where is the error (if any), which is causing the website to slowdown.

If your own website contains few errors or warnings and you are unable to fix the errors on your own, then just contact us.

If you liked my post, feel free to subscribe to my rss feeds

2 Comments so far (Add 1 more)

  1. Nice to read about them. simple information but very needy to know about it.

    4. junal BANGLADESH Windows XP Mozilla Firefox 2.0.0.7 on October 3rd, 2007 at 7:39 PM
  2. Dear Rochak
    Technology is very basic but really very good

    5. Sandhya INDIA Windows XP Mozilla Firefox 2.0.0.7 on October 3rd, 2007 at 8:52 AM

3 Trackbacks

  1. By Slow Websites: FUCK OFF! « Diary of a Screenhead UNITED STATES WordPress 2.3.3 on 23 February 2008 at 10:09 PM

    [...] http://rochakchauhan.com/blog/2007/09/25/what-make-a-website-slow-and-how-to-fix-it/ [...]

  2. By How to speed up your website « Junal on the run UNITED STATES WordPress 2.3.2 on 16 February 2008 at 2:32 AM

    [...] Good one.. While you are at it.. take a look at some other ways too: http://rochakchauhan.com/blog/2007/09/25/what-make-a-website-slow-and-how-to-fix-it/ [...]

  3. By DMW Validator :: Why Fix Errors? UNITED STATES WordPress 2.2.1 on 24 December 2007 at 2:53 PM

    [...] capable of debugging and fixings those invalid tags on its own. But, debugging takes a lot of time more… A Product of DMW Technologies Pvt. [...]

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

  Wordpress Themes Protected By Wp Spam Blocker