Re: optimilize web page loading

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---- Alain Roger <raf.news@xxxxxxxxx> wrote: 
> Hi,
> 
> i would like to know if there is a way to know how long does a web page need
> to be loaded into browser ?
> this is interesting fact for me, as i will optimilize my PHP code in order
> to reduce this time to minimum.
> 
> i was thinking to use some timestamp but as it will be in PHP, it mean that
> it should take time from server and therefore it is not fully representative
> from client browser time needed to load page :-(
> purpose :
> mywebpage.php -> 23 s before optimalization
> mywebpage.php -> 12 s after optimalization
> 
> do you have any idea ?

General rule of thumb used to be 2 seconds...  If your page hasn't outputted some form of usable information in 2 seconds or less, people don't stick around.

What's worse is that some browsers require the whole page contents before they will draw the page, so you get a white page while the page is loading into the browser and the client gets nothing.

Firebug/Yslow are both good extensions to load for Firefox to see where the bottlenecks are.

Wolf

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux