Forum Moderators: open

Message Too Old, No Replies

Making IE fire queries in blocks

it's firing all page queries at once

         

Namaste

6:42 pm on Sep 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Much like Webmasterworld, my site has dynamic content at the very top and in the middle of each page.

In Firfox, the top of the page loads 1st and then the next part of page loads.

In IE, it loads the whole page in one go, resulting in a "lag" before the user sees something happen. The whole page actually goes away for 1 second and then then loads.

How does one overcome that?

On pages where there are no queries on top, IE loads the masthead and then loads the middle of the page (with queries). So this works fine

I'm using CSS and MySQL

Namaste

7:00 pm on Sep 6, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I seem to have an answer:

IE is buffering the page "When the output is buffered, the server will hold back the response to the browser until all of the server scripts have been processed, or until the script calls the Flush or End method."

How does one turn this off in PHP or Apache?

Namaste

6:16 am on Sep 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



the problem has been solved for IE by opening and closing tables in necessary places.

tedster

8:36 am on Sep 7, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This interests me - do you mean that there were HTML errors, or that you changed on long table into several shorter ones?

Namaste

10:20 am on Sep 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



IE is table conscious. It needs a table to end before displaying received data from server.

Our page is CSS and the table end command was at the bottom. To overcome the issue and get IE to display pages in blocks of data, we had to create pseudo tables throughout the page.

The user now gets benefits of First In - First Out; instead of All In - All Out

Namaste

10:44 am on Sep 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Please see:

[in.php.net...]

tedster

3:37 pm on Sep 8, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Thanks -- thats' very good to know.