[请益] http v1.1浏览器请求静态资源循序平行处

楼主: kino818 (好多梦 层层叠叠又斑驳)   2023-04-17 11:57:43
网站跑http v1.1,浏览器送出http connect封包给web server后
接续用不同URL/URI去http GET request多个.css档案资源或多个.js档案资源
于fiddler的timeline上看到1.css与2.css与3.css与...几乎同时平行发出http GET
request
但不确定多个.css档案传输是sequential传输或parallel传输?
请问各位有经验大大的经验
sequential传输: 1.css get request -> 1.css get response -> 2.css get request
-> 2.css get response -> 3.css get request -> 2.css get response -> ...
parallel传输: 1.css与2.css与3.css几乎同时发出get request,不用等前一个.css
request的response回来,才能再request后面的.css档案
有没有办法利用goolge chrome Dev Tools来厘清问题?
谢谢各位大大
作者: ddoll288 (风儿卿卿)   2023-04-17 14:01:00
有两个状况http 1.1依照资料是6个并行connection/hosthttp2有Multiplexing,1个connection就可以把档案抓完https://tinyurl.com/2t26emwu
楼主: kino818 (好多梦 层层叠叠又斑驳)   2023-04-18 14:35:00
谢谢d大查得有用资讯https://stackoverflow.com/questions/985431/max-parallel-http-connections-in-a-browserhttps://www.youtube.com/watch?v=a-sBfyiXysI

Links booklink

Contact Us: admin [ a t ] ucptt.com