Multiple Tabs in the same browser and IIS Concurrent Connection

久未见 提交于 2019-12-11 18:29:26

问题


I understand multiple tabs in a single browser shares the same session. But does it uses the same concurrent connection?

More specifically does each tab in the browser to the same website will create multiple concurrent connections or share a common connection.

I will be using IIS as my webserver.

Thanks.


回答1:


There are many dynamics to this, and it depends on how you configure your WEBSITE, and the App Pool. For a standard website created with IIS and very little to no changes in the configuration, a single user (Browser) will issue a single connection from which multiple requests will take place. Of course, a single request will block until "completion".

However that being said, Browsers more or less have a "concurrent limit". Used to be set @ 2, but has now changed based on which one you use. Think Chrome is currently at 4.

Thirdly, browsers are a little smarter these days, and upon grabbing a page, they will open multiple requests (through a single connection - if HTTP Keep Alive set on IIS [default]) which will get images (resources) and the HTML concurrently.

HTH



来源:https://stackoverflow.com/questions/9578626/multiple-tabs-in-the-same-browser-and-iis-concurrent-connection

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!