Click to See Complete Forum and Search --> : loading time


gingar
01-27-2008, 09:54 PM
Hi guys,

I've got this website. It loads quite fast in firefox, like in a matter of 2-5 seconds.. but in ie 6, it takes more than 1 minute to load the same page!

I ran the microtime, and time elapsed in IE (time elasped B :0.12592887878418 secs) is similar to that of the time elapsed in firefox (time elasped B :0.12102603912354 secs).

So it appears IE took a gazillion years to display the page.. any idea why?

I've got lotsa tables and div tags.. does it affect? Images have been optimised as well.

NogDog
01-27-2008, 11:11 PM
Lots of tables, especially nested tables, will cause a difference. IE does not start displaying a table until all of the data it needs to determine its dimensions is received. So if you have a table layout using numerous nested tables, IE may need to wait for all of those nested tables -- including all of their contents -- to be be downloaded before it gets displayed.

This is yet another good reason to eschew using tables for page layout and instead using CSS.

gingar
01-27-2008, 11:57 PM
oh! i see.. ok. thanks!

bpat1434
01-28-2008, 10:42 AM
Also, FIrefox has options for paint delay. I'm not sure about IE6, but IIRC it can't change when it starts to render content (i.e. paint). So that could be another issue. Firefox might have a smaller delay in painting images and such ;)

JPnyc
01-28-2008, 11:41 AM
FF also displays whatever loads 1st, IE displays the page in the order the code appears.