Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Loading IFRAME's parallely

 
Karthik Prabu
Ranch Hand
Posts: 48
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 429
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic