[PHP] optimilize web page loading

2008-03-26 Thread Alain Roger
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

Re: [PHP] optimilize web page loading

2008-03-26 Thread Paul Scott
On Wed, 2008-03-26 at 09:25 +0100, Alain Roger wrote: 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. Try using microtime()

Re: [PHP] optimilize web page loading

2008-03-26 Thread Aschwin Wesselius
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

RE: [PHP] optimilize web page loading

2008-03-26 Thread dhorton
else mentioned Yslow, which is one of the tools the author suggests. David -- Original Message -- Date: Wed, 26 Mar 2008 09:25:46 +0100 From: Alain Roger [EMAIL PROTECTED] To: PHP General List php-general@lists.php.net Subject: [PHP] optimilize web page loading Hi, i would like to know

Re: [PHP] optimilize web page loading

2008-03-26 Thread Philip Thompson
On Mar 26, 2008, at 3:40 AM, Aschwin Wesselius wrote: 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.

Re: [PHP] optimilize web page loading

2008-03-26 Thread Richard Lynch
You can use onload and XmlHttpRequest to send back the desktop client computer date/time and compare that with your start time. Note that you'll need to test on [a] computer[s] where you know the date/time is set correctly, which is not true of the general visitor. On Wed, March 26, 2008 3:25

Re: [PHP] optimilize web page loading

2008-03-26 Thread Wolf
Alain Roger [EMAIL PROTECTED] 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