max number of concurrent file downloads in a browser?

后端 未结 6 1671
甜味超标
甜味超标 2021-01-15 20:15

Two related questions:

  1. What are the maximum number of concurrent files that a web page is allowed to open (e.g., images, css files, etc)? I assume this va

6条回答
  •  时光说笑
    2021-01-15 21:08

    The limitiation is usually the web server. It's common that a web server only allows two concurrent downloads per user.

    Active scripting engines like ASP.NET only executes one request at a time per user. Requests for static files are not handles by the scripting engine, so you can still get for example an image while getting an aspx file.

    Pages often have content from different servers, like traffic measuring scripts and such. As the download limit is per server you can typically download two files at a time from each server.

    As this is a server limitation, you can't find out anything about it using javascript.

提交回复
热议问题