You are here: Re: Determine what elements are slowing a web page load « HTML « IT news, forums, messages
Re: Determine what elements are slowing a web page load

Posted by Adrienne Boswell on 10/12/69 11:55

Gazing into my crystal ball I observed "John" <cpocpo@sbcglobal.net>
writing in news:SXqDg.11417$gY6.10981@newssvr11.news.prodigy.com:

> Hello,
>
> I use FP 2003, and one feature is that it shows a report which tells
> you how long a page will load based on 56K speed.
>
> For instance, it will say "index.htm" will load in 48 seconds, etc.
>
> Is there a way/ program to determine what INDIVIDUAL ELEMENTS of a
> webpage are taking up the most time so that one can concentrate on
> whittling down the big stuff?
>
> Something that says:
>
> Table or Stylesheet- 20 seconds
> Page background-5 seconds
> 123.jpg- 10 seconds
> 456.jpg -10 seconds
> top of page jpg 3 sec
>
> Total = 48 seconds.
>
> ?
>
> Surfing around, I found an online type of service, but I was wanting a
> program I can download and use off-line.
>
> Any help appreciated.
>
> VR/
>
> John
>
>
>

Opera gives you a bit of a hint, but, if you take steps you can whittle
it down.
1. No presenational markup. All presentation goes into a stylesheet.
2. No javascript on the page. Javascript goes into an external file.
3. Use semantic markup, the right tool for the job - if it's a heading
use heading markup, list of links, list markup, etc.
4. Make sure any images are optimized and are the size they say they are,
eg. if an image is 115x115, it better not be 800x600 on the server.
5. If you're doing anything server side, reuse, reuse, reuse. A page
that uses functions and that is 125 total lines long is going to load a
lot faster than a page that is 1700 total lines long (1000 server side).
6. If you use a database, make sure queries to the tables have been
optimized as well. If possible use stored procedures and indexed views.
Open connection, get the records, close the recordset, close the
connection. THEN write the data to the browser.


--
Adrienne Boswell at Home
Arbpen Web Site Design Services
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация