所有浏览器在开始呈现您已通过网络刷新到它的部分 HTTP 响应之前等待一些内容(有时也需要一些时间)——但要等待多少时间?
最佳答案
我今天用一个 url 端点接受让我配置 block 大小和间隔对此进行了一些研究。
Mac: text/html: image/jpeg: curl 7.24.0 4096 bytes Firefox 17 1024 bytes 1886 bytes Chrome 26.0.1410.65 1024 bytes 1885 bytes Chrome 29.0.1524.0 8 bytes 1885 bytes Safari 6.0.4 (8536.29.13) 1024 bytes whole file Windows XP: IE8 256 bytes Chrome 27.0.1453.94 1024 bytes Firefox 21 1024 bytes Opera 12.15 128 bytes AND 3s have passed Windows 7 IE9 256 bytes Windows 8: IE10 4096 bytes
关于http - 使用 "transfer-encoding: chunked",在浏览器开始渲染之前必须发送多少数据?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16909227/