Re: preventing buffered output



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

laredotornado@xxxxxxxxxxx wrote:

What directives/headers can I add to my PHP page so that output is
displayed on my HTML browser as it is received as opposed to waiting to
receieve it all and then displaying it? Ideally, this solution would
work for PC IE 6, Firefox, and Safari,

Aside from flushing he buffer, you should care about how the different
browsers render the page.

In particular, you can run into problems if you are using MSIE, and if your
data is inside some tables. IIRC, MSIE will wait until the inner elements
of the table have been fully loaded, in order to calculate its geometry
(width and height), and render it.

Step away from using complicated table-based HTML layouts, and try to use
CSS-based layouts, and absolute positioning. You will surely see that some
layouts render more quickly than others.

- --
- ----------------------------------
Iván Sánchez Ortega -i-punto-sanchez--arroba-mirame-punto-net

http://acm.asoc.fi.upm.es/~mr/ ; http://acm.asoc.fi.upm.es/~ivan/
MSN:i_eat_s_p_a_m_for_breakfast@xxxxxxxxxxx
Jabber:ivansanchez@xxxxxxxxxx ; ivansanchez@xxxxxxxxxxx
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD5WEd3jcQ2mg3Pc8RAmTYAKCGY+TA69OKHG7zif8FAXqMR1FcjwCeJj2T
eK3T8VsBXFhybNR0Q0Y2+YM=
=OBm2
-----END PGP SIGNATURE-----
.



Relevant Pages

  • JPEG images rendering slowly
    ... I have a custom application that works as a Digital Sign network client, downloading and displaying standard jpeg images and Flash clips in a full screen display. ... Even after looping the whole show, the images still render slowly. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Page rendered in X seconds?
    ... thanks for the extra tip about the render phase. ... upwards of 100Kb displaying a few hundred records in datagrids. ... do you know how i could factor in the Render time without going down the ... response content to client) can not be omited. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Align text in my drop down menu?
    ... How does every other browser render it? ... There is already an appropriate tool for displaying tabular data: ... If your question is worth asking, ...
    (microsoft.public.inetserver.asp.general)
  • Re: Using DirectShow to receive MJPEG frames from an Axis IP Cam
    ... i've made a test to render my image stream as a texture on a surface and it ... >>Image.FromStreamand this is this function who use a lot of cpu. ... > definitely stay away from using the Image class if you want high ... You also want to use hardware acceleration when displaying ...
    (microsoft.public.win32.programmer.directx.video)
  • preventing buffered output
    ... What directives/headers can I add to my PHP page so that output is ... displayed on my HTML browser as it is received as opposed to waiting to ... receieve it all and then displaying it? ...
    (comp.lang.php)