Re: optimilize web page loading



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 ?

.



Relevant Pages

  • Re: Help
    ... I there any free IDE tools youd recomend and do any of them run PHP? ... But that's an HTML question, ... The answer to that, BTW, is session data. ...
    (comp.lang.php)
  • Re: How to force browser to reload image from server?
    ... >> This is probably more of an HTML question than PHP. ... >> How can I force the browser to reload an image from the server? ... but even better than rand() or timewould be ...
    (comp.lang.php)
  • Re: Help
    ... I there any free IDE tools youd recomend and do any of them run PHP? ... But that's an HTML question, ... In other form types is call a textarea. ...
    (comp.lang.php)
  • Re: includes and paths and organization
    ... Partially this is a html question. ... Right now i use php for includes and getting some lists I make using mySQL and phpmyadmin and can get those out without error. ... For the most part a lot of my files were in the main directory with my index.php like header.php and footer.php but I just realized when I use these header and footer files from a different directory the paths are wrong. ... My goal is to call my header or footer file from any level folder from an includes folder. ...
    (comp.lang.php)
  • Re: Help
    ... I there any free IDE tools youd recomend and do any of them run PHP? ... But that's an HTML question, ... You aren't passing the data to PHP - you're passing it to the SERVER. ...
    (comp.lang.php)

Quantcast