10 Best practices to Improve Your Website Performance

Posted by Thomson Chemmanoor

There are several ways to improve the performance of your website. There are several areas like server performance, scripting optimization and the front end design of the site. The front end design is the most commonly accessible part of your website by a visitor so keep it tuned to perform better. A common problem among most website owners is they incorporate so many things into a website that it doesn’t deliver the response they hoped for.


However, not all hope is lost. If you make some simple changes to the front end design, you can increase the visitors perception of your website.

Here are the 10 simple steps to increase your website performance.

1. Optimize your web page components.
Identify the components, such as images, css files, html pages and JS files, that take a long time to load. To identify the problematic components, use tools like firebug for a quick and easy method. Make sure you have a fast loading website and limit the page to 19-25kb.

2 Avoid inline styling and inline JavaScript code.

Don’t use inline CSS and javascript in your HTML document instead use external css and javascript files, because your HTML code will weigh more, i.e. a web page riddled with similar code will have a KB size that is a lot larger than necessary.

3. Avoid CSS Expressions
One way to reduce the number of times your CSS expression is evaluated is to use one-time expressions, where the first time the expression is evaluated it sets the style property to an explicit value, which replaces the CSS expression.

4. Simplify tables and avoid nested tables (tables within tables).
In general, the best way to design tables for visual and non visual users is to simplify the layout as much as possible.  Avoid placing one or more tables inside on another – hence, “nesting.” …for those who don’t know ;)… The more tables that are nested, the longer it will take for the Web browser to render the Web page.

5. Specify image WIDTH and HEIGHT attributes for faster loading in the browser.
If you want to increase the size of the images in your web pages don’t use the Width and Height attribute instead use a image editor to shrink it.

6. Reduce DNS Look ups

The Domain Name System (DNS) maps hostnames to IP addresses just like phonebook maps people’s name and their address. When you type in your domain name into your browser, a DNS resolver contacts the browser to return with the servers IP. Usually the browser takes some time to complete this process. Reducing the number of unique hostnames has the potential to reduce the amount of parallel downloading that takes place in the page. Avoiding DNS lookups cuts response times.

7. Reduce 301 and other kinds of redirects

Redirects of a web page can be done in server ways like 301 and 302. Meta refresh tag and JavaScript are other ways to direct users to a different URL. The whole purpose of a Redirect is to connect the old web page to a new URL. But reducing this to a minimum is the best practise to increase the performance of a web page.
Redirects slow down the users experience because inserting a redirect between the user and the HTML document delays everything in the page since nothing in the page can be rendered and no components can start being downloaded until the HTML document has arrived.

8. Remove Duplicate scripts
It is not a good practise to include multiple versions of the same JavaScript in a single page. Duplicate scripts increase unnecessary HTTP requests during page loading. Even if the script is cacheable, extra HTTP request will occur when the user reload the page.

9. Minimize the Number of iframes

Inline Frames (IFrames) are windows that cut into your web page that allow your visitor to view another page on your site or off your site.

10. Reduce Cookie Size
HTTP cookies are used for several reasons – information about cookies is exchanged in http headers between a web sever and browser. Making the cookie size as small as possible to reduce the impact on the users response time.

As I said, there are several ways to improve the performance of your website. If you’ve got more additional inputs and thoughts which you’d like to disucss, please share that with us in the comments.

33 thoughts on “10 Best practices to Improve Your Website Performance

  1. This is a great list to think about to try and get your site optimized for fast loading.

    I used external style sheets by accident but now know why I should continue to use them.

    Thanks & Regards
    Noel from nopun.com
    a professional graphic design studio

  2. I think you can use inline styling in some cases, like when using it for a one time item where it only requires one fix like style=’margin:5px;’. It’s not much different than id=’specialcontent’

  3. It is so annoying when someone calls your home or cell, and you have no idea who it isn’t it? I have a few money worries at the moment and have been receiving calls which I think are from people wanting payments but daren’t answer them. I see there are some companies on the net who can trace a cell number to the person and provides you information. search reverse phone number.com seems to be a popular choice for doing this but the reviews are not that good. Another provider whom is much better priced is the toppeopletracker.com – has anyone here used it and did you get the level of detail you wanted? I.e. caller name and address?

  4. Hey this was doubtlessly one of the most intelligent articles I’ve had the chance to go over on the subject so far. I do not know where you learn all your data but keep it coming! I am gunna send a few individuals on over to take a look at this post. Fantastic, totally fantastic. I am have just started getting into spitting out articles myself, nothing compared to your writing skills (ha!) but I’d love for you to look over my stuff someday! bowflex

  5. This is a really interesting article. I’ve been looking for something similar to this for a while – I’m going to have to share it with my readers and bookmark you for next time 🙂

  6. The Zoundry Blog Writer gives you similar advantages as a client application. You can write posts offline (except for inserting product links which requires Internet access), move around images in your post, and easily format text using our editor. But you should feel free to use both our Blog Writer and the online editor at your service depending on your situation – your posts will be synchronized between the two.

  7. I’ve experienced some reasonable results from a thing called Natural Energy Max, It did take a while but I think this is always going to be the case with legal products. Since using it though, the results have been steady and I’ve really benefitted from it. They’re offering a free trial currently so it’d be a good time to check it out. It’s at http://bit.ly/itsNRG

  8. Navigation within a website should be seamless. Users should be able to find their way around easily. While there is no standard for navigation within a website, especially now as more new web development technologies emerge, it is imperative to understand that navigation must be intuitive and consistent.

  9. knowing what is right and what is wrong is the basic quality of a good post. I could see that you have mastered it and i am liking to be in this site so much. Thank you for the effort of making a good post.

  10. Thanks very much for this great article;this is the kind of thing that keeps me going through out my day. I have been looking around for this site after I heard about it from a buddy and was gladwhen I found it after searching it on googlefor long time. Being a avid blogger, I’m blessed to see others taking initivative and contributing to the community. I would like to comment to show my approval for your article as it is very interesting, and many bloggers do not get the informationthey deserve. I am sure I’ll be back and will spread the word to my friends.

  11. ———————————————————–
    I believe the information written in your write-up is truly excellent. I’ve been operating on a preliminary investigation venture concerning this subject and your weblog genuinely aided with quite a few considerations that I’d. I’m creating a term paper for college and I?m currently subsequent quite a few blogs for review.

  12. Often the very best practises are simple and a piece of cake to implement in business as well as everyday life, however oftentimes points are usually a lot more challenging and have to have specialist assistance.

Leave a Reply

Your email address will not be published. Required fields are marked *