浏览器中最大并发文件下载次数? [英] max number of concurrent file downloads in a browser?

查看:121
本文介绍了浏览器中最大并发文件下载次数?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

两个相关问题:


  1. 允许网页打开的最大并发文件数是多少(例如,图像,CSS文件等)?我假设这个值在不同的浏览器中是不同的(可能是每种文件类型)。例如,我很确定javascript文件一次只能加载一个(对吗?)。

  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 value is different in different browsers (and maybe per file type). For example, I am pretty sure that javascript files can only be loaded one at a time (right?).

有没有办法可以使用javascript来实现查询此信息?

Is there a way I can use javascript to query this information?


推荐答案

绕过X连接的一种有趣方式每个服务器限制是将脚本和图像等静态资源映射到他们自己的域... img.foo.com或js.foo.com。

One interesting way to get around the X connections per server limit is to map static resources like scripts and images to their own domains... img.foo.com or js.foo.com.

我只读过关于这个 - 实际上没有尝试或测试过。如果这不起作用,请告诉我。

I have only read about this - not actually tried or tested. So please let me know if this doesn't work.

这篇关于浏览器中最大并发文件下载次数?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆