By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,676 Members | 1,773 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,676 IT Pros & Developers. It's quick & easy.

page renders slowly, as if wrapped in a table, yet there is no table

P: n/a
This page renders slowly on both IE and Netscape - everything
downloads before anything appears on screen. It is the behavior you'd
expect if the whole thing was wrapped in a table, yet there is no
table. What other sorts of problems normally cause this?
Jul 20 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
lk******@geocities.com (lawrence) wrote in
news:da*************************@posting.google.co m:
This page renders slowly on both IE and Netscape - everything
downloads before anything appears on screen. It is the behavior you'd
expect if the whole thing was wrapped in a table, yet there is no
table. What other sorts of problems normally cause this?


URL?
Jul 20 '05 #2

P: n/a
lawrence wrote:
This page
What page?
renders slowly on both IE and Netscape - everything downloads
before anything appears on screen. It is the behavior you'd expect
if the whole thing was wrapped in a table, yet there is no table.
What other sorts of problems normally cause this?


With no url, I cannot help you.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #3

P: n/a
Brian <us*****@julietremblay.com.invalid> wrote in message news:<10*************@corp.supernews.com>...
lawrence wrote:
This page


What page?
renders slowly on both IE and Netscape - everything downloads
before anything appears on screen. It is the behavior you'd expect
if the whole thing was wrapped in a table, yet there is no table.
What other sorts of problems normally cause this?


With no url, I cannot help you.


http://www.publicdomainsoftware.org/
Jul 20 '05 #4

P: n/a
lawrence wrote:
This page renders slowly on both IE and Netscape - everything
downloads before anything appears on screen. It is the behavior you'd
expect if the whole thing was wrapped in a table, yet there is no
table. What other sorts of problems normally cause this?


I think it is *because* you use no tables. The browser must wait until
it has all of the markup before knowing what to do. And there is a *lot*
of markup. (Opera and Mozilla also wait for everything before rendering.)
And the connection is very slow: 1 KB/sec. It takes a minute to
download the page contents.

Design note: Your choice of contrasting colors is poor. Charcoal gray
on black? Black on dark purple? Green on brick red? No one over 35 and not
sitting in the dark can read the text.
A problem with light color text on dark background is that the text
gets washed out by the background unless the text is a large font, or is
bold. This is especially true for CRTs.

--
jmm dash list at sohnen-moe dot com
(Remove .TRSPAMTR for email)
Jul 20 '05 #5

P: n/a
James Moe <jm***************@sohnen-moe.com> wrote:
lawrence wrote:
This page renders slowly on both IE and Netscape - everything
downloads before anything appears on screen. It is the behavior you'd
expect if the whole thing was wrapped in a table, yet there is no
table. What other sorts of problems normally cause this?
I think it is *because* you use no tables. The browser must wait until
it has all of the markup before knowing what to do.


No, the browser should be able to start displaying the content before
it receives everything. That's how browsers have always behaved.
(Tables used to be an excpetion in that browsers wouldn't start to
render them before they had received the entire table. But modern
browsers will start to render a table and the redraw it as necessary.)
And there is a *lot*
of markup. (Opera and Mozilla also wait for everything before rendering.)
Opera started to display the page after 10 seconds and then redrew the
page once it had received the stylesheets. The whole thing took 30
seconds to download and display (on broadband).
And the connection is very slow: 1 KB/sec. It takes a minute to
download the page contents.


I think the server is partly at fault. The four PHP generated
stylesheets may also be a factor - for the size of stylesheet it took
a long time for them to arrive. Maybe the PHP needs to be looked at
again to see if it's making the best use of resources.

Steve

--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>
Jul 20 '05 #6

P: n/a
James Moe wrote:
I think it is *because* you use no tables. The browser must wait
until it has all of the markup before knowing what to do.


Where did you get this information? I know of no browser that does not
do incremental rendering when it's possible, and a tableless page can
be rendered incrementally. In fact, one can fine tune the code to get
even tables to be rendered that way.

--
Brian (remove ".invalid" to email me)
http://www.tsmchughs.com/
Jul 20 '05 #7

P: n/a
Steve Pugh <st***@pugh.net> wrote in message news:<e2********************************@4ax.com>. ..
And there is a *lot*
of markup. (Opera and Mozilla also wait for everything before rendering.)


Opera started to display the page after 10 seconds and then redrew the
page once it had received the stylesheets. The whole thing took 30
seconds to download and display (on broadband).
And the connection is very slow: 1 KB/sec. It takes a minute to
download the page contents.


I think the server is partly at fault. The four PHP generated
stylesheets may also be a factor - for the size of stylesheet it took
a long time for them to arrive. Maybe the PHP needs to be looked at
again to see if it's making the best use of resources.


Without question the code is partly at fault - it was written in a
hurry and uses objects in a sloppy way and needs to be cleaned up. And
our server is from Interland and we've had problems with Interland.
But what struck me about this particular design was that it was
dramatically slower than any of the other designs we've used with this
code and on this server, so I was wondering if there was something
unique in the HTML that would cause slow rendering.

Thanks for the help.
Jul 20 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.