This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Loading IFRAME's parallely Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply 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: 15357
    
    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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Loading IFRAME's parallely
 
Similar Threads
PUT method of HTTP
Reg : access through SSl
Problem while submitting action through JavaScript
jk connector tomcat 4.1.27
Why HttpSession expired ?