within php you can use output buffering and set the buffer quite high. this means that the browser does not have to wait for script processing during the display. it gets the html once the script is processed.
but the browser still has to wait for the content to arrive over the internet, it then needs to parse the content to work out how to display it. different browsers do this differently.
thus output buffering is at most a partial solution.
there may well be tricks you can use to optimise the display in javascript. suggest you call in at the js forum!
You could do this easily in Javascript. The question is, why would you want to do it. Browsers have algorithms to download text first, images later and backgrounds the latest in order to give the user useful information as soon as possible, and you want to work against that? Wouldn't you rather have partial information while you wait then just stare at a blank Loading... sign? If not, forum216 is really the best place to visit.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.