Print This Article Post Comment Add To Favorites Email to Friends Ezine Ready

Website Design Tips: How To Reduce Website Load Time?

By: Rajiv Kakar Home | Internet-and-Business | Web-Design


An important aspect of website design is to reduce web page load time to the lowest possible. A slim trim website design is in some ways like an attractive athletic woman, so let us call this article â€A website weight loss programme†that will help you make your web pages load much faster.

Why is it so important to reduce website load time?

A website has global reach but Internet connection speeds in various countries are not the same. A lot of dial-ups and slow broadband connections still exist. Recently published research has revealed that unless massive amounts are spent on improving Internet infrastructure, the average global connection speed may show a dip by 2010. Even for those who do have high-speed connections, the total number of relevant websites on the Internet is growing fast. This directly translates into less time spent by the viewer per web page. Generally speaking, patience is a rare commodity in today's world of reducing resource-to-consumption ratios. Do you want to neglect a large proportion of potential worldwide customers just because your web page load time is slow? If not, then follow the steps below to reduce website load time.

Women usually work on trimming the hips, shaping legs and removing cellulites in various places. Similarly, I have classified below â€website weight loss programme†into three â€broad’ categories: Graphics, Code and Other Factors. Please note that you should meticulously follow as many steps as you can to take the redundant fat out of your website design and reduce â€website loading time†to a bare minimum.

WEBSITE WEIGHT LOSS PROGRAMME

A. TRIM the Graphics (Slim hips:-)

1. Avoid Graphic Heavy or Complicated Web Design

Website designs that use many images (especially those with special effects) generally take a long time to load. What if a good looking website keeps loosing valuable visitors just because its web pages take too much loading time? Try to be discrete and use less number of images / graphics while maintaining the look and impact of the website design. Remember that text links are easily read by search engines and load faster than graphic buttons. Sometimes it is also possible to move large images from an important page to a section like â€Gallery†to reduce web page load time.


2. Use Only Optimized Images

Optimize each image in editing software like Photoshop. There are different image formats like GIF, JPEG, PNG, TIFF etc., so try to save images in the appropriate format. As a rule-of-thumb, GIF is more suitable for uniform color images and JPEG for real world scenes. GIF saved at 256 colors should be reduced (as much as possible) to 128, 64 or 32 colors without comprising image quality. To reduce website load time JPEGs should be saved in the lowest quality possible without spoiling picture impact. You can also use PNG if you are sure that your users are using newer browsers.

3. Specify Image Dimensions

While inserting images in HTML always mention height and width attributes. This helps the web browser to know the image size before loading it. The browser will then reserve the area for the images while rest of the web page design continues to load, thereby reducing website loading time. Do not use the height and width tags for image size reduction.

4. Preload Your Images

You can preload some heavy images of the next pages (that can be reached by clicking on links within the current page) by defining them at the footer of the current web page. For example, img src=â€nextimage†height=â€1†width=â€1†inserts a 1x1 pixel image in the footer that is read by the browser when the code above it has been read. Thereafter, while your visitor is viewing your main page, images of the next page will continue to download to the viewer's PC in the background and will reduce subsequent web page load times. This is not recommended for direct Adwords landing pages because Google has recently announced that high web page load time will negatively impact the landing page quality score.


5. Optimize Flash Files

Animating important stuff can make an impact on the visitor. If possible, avoid animated GIF images in website designs; instead use Flash with discretion. Always use optimized flash files. There are so many ways to reduce Flash loading time that I will be covering this in a separate article.


B. TRIM the Code (Shapely legs ;-)

1. Remove Useless Code:

While using an HTML generator, some extra or empty tags get inserted in the code, for e.g. breaking spaces, block quotes, unnecessary extra space, blank lines etc. Even if you hand-code HTML, always manually check your website design code and remove the empty or unnecessary HTML tags. Use appropriate DOCTYPE and close all HTML markup elements. The browser will then have less work to do matching elements. Clean coding of a web page will not only reduce website load time but also increases your text-to-code ratio and search engine spiders do not have to spend time deciphering irrelevant stuff.

2. Use of Shorthand External CSS

CSS helps make your website design code compact as well as clean and its proper usage helps reduce website loading time. Define common font styles, images etc. (used in a set of web pages) in one single external CSS. By doing this, you will not have to insert the same tags again and again on different pages - just call the CSS and apply that particular class. With all your repetitive stuff defined in the CSS file, the browser won't have to read each single tag all over again. Always use External CSS file and remember to remove extra, unused styles from it.

Use smaller class names and shorthand CSS instead of putting each CSS attribute in its own line.

For example:

â€body{
background: url("image.jpg");
background-color: #cccccc;
background-repeat: repeat-x;
}â€

Above code can be written as below when using shorthand CSS:

â€body
{
background: #cccccc url('image.jpg') repeat-x;
}â€

A properly created small external CSS file will substantially reduce website load time.

3. Use External JavaScript

If you must use JavaScript, merge small common JavaScript files into a single external file and then (for newer browsers) you may compress it. This will reduce website loading time and you don’t have to write the script on each web page †the web browser has this file in its cache and won’t have to download it each time another web page loads.

4. For Table Based Website Design

Avoid unnecessary nested and full-page tables. If you insert a table inside another table, it increases web page load time because the browser has to read the content located in the innermost table. Avoid unnecessary nested tables, instead divide your page into different sections like header, body, footer etc. according to your layout and use a different table for each section. Your browser will be able to load your web page a bit faster.

5. Use Table-less Website Designs

Every time when a website is opened, the browser has to first scan tables and then load the content of the page which increases the website loading time. Using CSS and DIV tags you can avoid tables altogether and reduce website loading time substantially.

C. OTHER factors that reduce website load time (remove the cellulites:-)

1. Host on a high-end server with fast connectivity to decrease website loading time.

2. If you have a database driven website, it is faster and more secure to place your content on one server and your database on another. Consider SSI for common page elements, AJAX for page refreshes and Jar compressed files that load faster into the temp.

3. Avoid background music files and if it is very necessary to use them then use highly compressed music file formats. Avoid having much stuff on your website loading from other websites and reduce the number of HTTP requests.

4. Adding a slash at the end of a link like domain.com/contact informs the server that this is a directory page and it does not have to waste time working out what kind of file exists at that address.

5. Using fewer redirects, Iframes, PhP and database queries also helps reduce website loading time.

If you have followed the above website weight loss programme and made your website design slim and trim, you will be thrilled every time you see its performance. Remember that quality websites offer a lot of fresh content. When you add new pages, do not forget to apply the above tips to reduce website load time.



Article Source: http://www.eArticlesOnline.com

About the Author:
Rajiv Kakar of Centaurhosting.com ( Website Design Company India) has been actively engaged in SEO Services, Web Designing and Hosting for the last several years. He recommends visiting their Web designing Delhi Studio for more information about processes involved in website design.

Tags: , , ,

Please Rate this Article

 

Not yet Rated

Click the XML Icon Above to Receive Web-Design Articles Via RSS!

Recent Related Articles From Web-Design

  • Getting Prepared For Liposuction - What You Need To Know
    By: Todd Erwin | Feb 28th 2011
    Before you undergo a liposuction procedure the American Association of Plastic Surgeons recommends patients to go through a sequence of physical examinations. These exams should be used to determine the patient's suitability for the surgical procedure. Read

  • Just Say No

    Now this quote does not only relate to time management! It relates to your body too! I know it sounds cheesy but in order to attain and/or maintain a lean physique you must say NO to a few things along the way. Things that hold you back! Read

  • Do You Think That You Should Undergo Weight Loss Surgery?
    By: Frances Norah Smith | Feb 14th 2009
    These days there are several weight loss programs and diet plans available which will help you lose weight, not to speak of the various types of exercises that can help you lose fat as well. Add to that the artificial weight loss solutions and diet pills that help you burn more fat by speeding up your metabolism. In fact I ... Read

  • How Can I Find A Weight Loss Plan?
    By: IPRWire Staff Writer | Dec 12th 2006
    Most of us have, at one time or another, been on a weight loss plan of some sort. Some of us had good results, while others had less favorable results. The sad truth is that losing those added pounds can seem nearly impossible at times.

    We try as hard as we can to lose those pounds, only to end up failing. Th ...
    Read

  • Swimming For Weight Loss
    By: Robert Baird | Jan 4th 2008
    There are various forms of aerobic exercises which are considered to be beneficial in causing weight loss. In fact not only are the beneficial in resulting in weight loss but at the same time they help to preserve this weight loss for a long period of time and are also very significant in providing strength and stamina to t ... Read

  • How To Stick To Your Weight Loss Program During The Holidays
    By: Louis Jeffries | Sep 6th 2009
    You are committed to lose weight and it seems the hardest time to stick to your healthy weight loss program is during the holidays. To do so follow these simple steps. Read

  • Benefits Of Weight Loss Pills
    By: SusanLedesma | Jan 4th 2011
    Are you looking for a fine alternative to exercises? When weight loss pills can offer you best results, what is the need to go behind heavy and time consuming work out plans? Take weight loss pills and experience its magical impact on your body. Read

  • How To Choose The Best Weight Loss Program For Your Body Type
    By: Jan Margrit | May 2nd 2008
    Maybe you've asked yourself this question. Why are there so many weight loss programs on the market? Isn't loosing weight just a question of exercising more or eating less? Unfortunately there's more to it than that and making the right choice of weight loss program gives you the best chance to succeed and see benefits from ... Read

  • Weight Loss Camps For Teens And Children
    By: Chris Chew | Nov 4th 2006
    Have a vacation with your obese children and at the same time having them losing weight in weight loss camps. Read

  • Weight Loss Camp Vacation For Children

    If you are a parent concerned about your overweight children or teenager, why not take them for a vacation at a weight loss camp. There are 2 benefits in this, firstly, you are on a vacation with your kids spending quality time together and at the same time able to educate your children or even yourself about permanent weig ... Read


Copyright © 2005-2011 eArticlesOnline, LLC - All Rights Reserved
Terms of Service | Privacy Policy