The Netlobo logo - a Nevada desert landscape

How to Decrease Load Time of your Web Pages

Some tips to optimize your web pages so they load faster

Published Aug 3, 2005 by lobo235

When you are creating new web pages it is a good idea to make sure they load quickly. Users on the web want information quickly. People are using search engines like Google more and more to get their information. When they click a link in the search results to one of your pages, if it doesn't load within a few seconds they will probably think the link is broken and try a different link instead. To avoid this there are a number of things you can do to optimize your web pages so they load faster. I will present a few of the methods I have used in my web pages.

One of the biggest things that affects your page's load time is the server where your pages reside. Many shared hosting providers or free hosting companies try to stuff as many sites onto a server as they can to save money. If the server your pages are on is overburdened with hundreds of other sites this can definitely have an effect on your load times. When choosing a web host you might want to visit some web hosting forums and ask other users about their experience with a particular hosting company.

Another big item to consider when optimizing your web pages is the size of your images. Experiment with different image formats to get your images to be as small as possible. For many types of images, the GIF format gives you a smaller file because you can limit the number of colors used in the image among other things to trim the size down. Use the JPEG format for images that have a lot of detail like photos. Use the GIF format for images with only a few colors like logos or buttons. Where possible, use CSS-styled text instead of an image which will take longer to load. Also, try to decrease the overall number of images on each page. When the user visits your page, the browser has to download each image in turn, so the more images you have, the slower the page will load.

For web pages that contain a large amount of information, consider using some type of pagination to break the information up into smaller, more optimized pages that will load faster. Put all the CSS-styling and javascript that you can into separate files that the browser can cache so they don't have to be reloaded each time a page is viewed. Look for other methods to make the browser cache certain items on the page so they do not get reloaded all the time.

I hope these tips will help you in your quest to make your web pages load faster. If you have any questions or comments regarding this article, please feel free to contact us and let us know.

0 comments for this article. Be the first to leave one!

Other great Web Development and Programming articles on
Javascript Tool-tips
Get URL Parameters Using Javascript
Showing/Hiding a DIV using the Off-Left Method