Re: optimilize web page loading
- From: news@xxxxxxxxxxxxx (Al)
- Date: Wed, 26 Mar 2008 13:18:00 -0400
You are really asking an HTML question, if you think about it.
At the PHP level, either use output buffering or assemble all your html string as a variable and then echo it. The goal is to compress the string into the minimum number of packets.
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 ?
- Follow-Ups:
- Re: [PHP] Re: optimilize web page loading
- From: "Andrew Ballard"
- Re: [PHP] Re: optimilize web page loading
- References:
- optimilize web page loading
- From: "Alain Roger"
- optimilize web page loading
- Prev by Date: Re: [PHP] PHP Book
- Next by Date: Quick email address check
- Previous by thread: Re: [PHP] optimilize web page loading
- Next by thread: Re: [PHP] Re: optimilize web page loading
- Index(es):
Relevant Pages
|