Go Back   CodingForums.com > :: Client side development > General web building

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-16-2002, 04:58 PM   PM User | #1
The Wizzard
Regular Coder

 
Join Date: Jun 2002
Location: Lake Forest, CA
Posts: 259
Thanks: 0
Thanked 0 Times in 0 Posts
The Wizzard is an unknown quantity at this point
Thumbs down iframe and page load time...

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
The Wizzard is offline   Reply With Quote
Old 07-16-2002, 10:28 PM   PM User | #2
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
could you supply a linke ?

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

So you might want to just forget iframes and use frames, or just link to whatever you wanted within the iframes.

Hope this helps
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Old 07-17-2002, 08:24 AM   PM User | #3
The Wizzard
Regular Coder

 
Join Date: Jun 2002
Location: Lake Forest, CA
Posts: 259
Thanks: 0
Thanked 0 Times in 0 Posts
The Wizzard is an unknown quantity at this point
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.
The Wizzard is offline   Reply With Quote
Old 07-17-2002, 07:46 PM   PM User | #4
ACJavascript
Regular Coder

 
Join Date: Jun 2002
Location: FL, USA
Posts: 734
Thanks: 0
Thanked 0 Times in 0 Posts
ACJavascript is on a distinguished road
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!!!!!!!!!!!!!!!!!!!!
__________________
CYWebmaster.com - See why we dot com!!
ACJavascripts.com - Cut & Paste Javascripts!
SimplyProgram.com - Personal Blog
ACJavascript is offline   Reply With Quote
Old 07-21-2002, 08:04 PM   PM User | #5
BrainJar
Regular Coder

 
Join Date: Jun 2002
Posts: 185
Thanks: 0
Thanked 0 Times in 0 Posts
BrainJar is an unknown quantity at this point
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.
BrainJar is offline   Reply With Quote
Old 07-21-2002, 11:29 PM   PM User | #6
Quiet Storm
Regular Coder

 
Join Date: Jun 2002
Location: Beyond Lament
Posts: 424
Thanks: 0
Thanked 0 Times in 0 Posts
Quiet Storm is an unknown quantity at this point
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?
__________________
Quíet Storm Designs ~ Art is not what you see, but what you make others see.
· the Storms· || ·Ultraviolent Winter· || ·Was Einstein Wrong?· || ·It´s About Time!·
Quiet Storm is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:28 AM.


Advertisement
Log in to turn off these ads.