View Full Version : iframe and page load time...
The Wizzard
07-16-2002, 04:58 PM
Hi, is there a way to speed up my page... I have a few iframes on the page, and it seems to be slowing down the page.
THanks
ACJavascript
07-16-2002, 10:28 PM
could you supply a linke :D?
most of the time its not the iframes that take a long time to load but the content within them. heck its allways that hehehehe :D
So you might want to just forget iframes and use frames, or just link to whatever you wanted within the iframes.
Hope this helps :D:D
The Wizzard
07-17-2002, 08:24 AM
http://www.enemydown.org
and i like to use some iframes in there because i use ASP for certain parts of the page, but some of the page extensions are .cgi so i need the iframes to keep my asp working...
I have an image preloading script on the page, because i figured it could be the images, but when i go to the page, the content in the iframes sometimes takes a few seconds to load.
ACJavascript
07-17-2002, 07:46 PM
well i went to the site, and it loaded up very nicly for me. only took about 2-3 secs. I used IE5.
On a side note, AWSOME SITE!!!!!!!!!!!!!!!!!!!!
BrainJar
07-21-2002, 08:04 PM
Most browsers have a fixed number of sockets they can use to connect and download files concurrently with. I think Netscape 4 used four. Not sure about others.
Every image, external script, external style sheet and frame page requires a socket to download with. Plus one for the page itself.
Say you have ten images on a single page. Three could start downloading as the page loads. The others would have to wait for one of those downloads to finish and free up the socket so they could use it.
So it doesn't matter what your connection speed is, if the browser has a limit on how many files it can download simultaneously. If you have a lot of images and/or frames and/or external files, it can take longer to load everything.
Quiet Storm
07-21-2002, 11:29 PM
BrainJar,
So instead of having links going:
<SCRIPT SRC="this.js"></SCRIPT>
<SCRIPT SRC="that.js"></SCRIPT>
<SCRIPT SRC="the-other.js"></SCRIPT>
It would be faster to just have all the code on the one page?
Almost sounds right - but why did I have them all external?
:confused:
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.