*
The moose likes HTML, CSS and JavaScript and the fly likes Loading IFRAME's parallely Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Loading IFRAME Watch "Loading IFRAME New topic
Author

Loading IFRAME's parallely

Karthik Prabu
Ranch Hand

Joined: Dec 27, 2002
Posts: 48
Hi All,

We have a webpage with around 10 IFRAME's pointing to different applications in the same domain( Ex. https://www.myserver.com/app1, https://www.myserver.com/app3 etc.. ). We noticed that IFRAME's are not loaded concurrently. When we did some research we found that in RFC for HTTP1.1
Clients that use persistent connections SHOULD limit the number of simultaneous connections that they maintain to a given server. A single-user client SHOULD maintain AT MOST 2 connections with any server or proxy.
is mentioned. A work around given by IE for this issue is here. But this cannot be used in our case as we can't ask our clients to change their registry settings.

Is there any other workaround for this ?

Thanks
Prabu
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
The browser is going to load the content as it goes down the page rendering it. There is no way to avoid this.

Eric
Yuriy Zilbergleyt
Ranch Hand

Joined: Dec 13, 2004
Posts: 429
Instead of IFRAMEs you could have DIVs loaded asynchronously using the XMLHttpRequest object. In IE 6, at least, this ignores the "2 persistent connections" issue somehow. Of course that kind of loophole might be closed in the next patch, and to use XMLHttpRequest your clients would have to have ActiveX enabled in IE. Note that on Mozilla browsers the max persistent connections is defaulted to 2 and that does affect XMLHttpRequest requests. But this can be changed through about:config without touching the registry.

-Yuriy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Loading IFRAME's parallely