Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    Regular Coder
    Join Date
    Jun 2002
    Location
    Lake Forest, CA
    Posts
    259
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #3
    Regular Coder
    Join Date
    Jun 2002
    Location
    Lake Forest, CA
    Posts
    259
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #4
    Regular Coder
    Join Date
    Jun 2002
    Location
    FL, USA
    Posts
    734
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #5
    Regular Coder
    Join Date
    Jun 2002
    Posts
    185
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    Beyond Lament
    Posts
    424
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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!·


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •