View Single Post

  #3 (permalink)  
Old 03-26-2008
Aschwin Wesselius
 
Posts: n/a
Default Re: [PHP] optimilize web page loading

Alain Roger 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 ?


Hi,

If you make use of Firefox, you can use the Yslow extension. This will
show you the bottlenecks of the page loaded (images, stylesheets,
javascripts, total duration, total size etc.).
--

Aschwin Wesselius

/'What you would like to be done to you, do that to the other....'/

Reply With Quote