找回密码
 立即注册
the传输HTTPand | 软件工程 2022-04-27 191 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
上次我们讲到HTTP消息中的body,我们知道HTTP可以传输很多种数据,不仅是文本,还包括图片、音频和视频。
早期,只有几千字节大小的文字和小图片基本上都是在互联网上传输的,但现在情况已经大不相同了。网页中包含的信息实在是太多了。一个随机的首页HTML可能有几百K,高质量的图片都算M,更何况那些电影和电视剧。有几千兆字节和几十千兆字节。可能的。
相比之下,100M光纤固网或4G移动网络在这些大文件的压力下,变成了“小水管”。无论是上传还是下载,网络传输链接都会“满”。
因此,如何在有限的带宽下高效、快速地传输这些大文件成为了一个重要的课题。这就好比冰箱门已经打开(连接建立),怎么把大象((文件)放进去再关门(完成传输)?
今天,我们来看看HTTP协议中的什么手段可以解决这个问题。

(Last time we talked about the body in HTTP messages. We know that HTTP can transmit a variety of data, not only text, but also pictures, audio and video.In the early days, only a few thousand bytes of text and small pictures were basically transmitted on the Internet, but now the situation is very different. The web page contains too much information. A random homepage HTML may have hundreds of K, and high-quality pictures are m, not to mention those movies and TV dramas. There are thousands of megabytes and tens of gigabytes. possible.In contrast, 100m optical fiber fixed network or 4G mobile network has become a "small water pipe" under the pressure of these large files. Whether uploading or downloading, the network transmission link will be "full".Therefore, how to efficiently and quickly transmit these large files under limited bandwidth has become an important topic. This is like the refrigerator door has been opened (connection established), how to put the elephant (file) in and then close the door (complete transmission)?Today, let's see what means in HTTP protocol can solve this problem.)

[下载]08432618448.rar
[下载]08432783309.rar
[下载]08432748162.rar
[下载]08432714760.rar
[下载]08432726316.rar
[下载]08432835380.rar




上一篇:CSS网站布局实录 (第二版).pdf
下一篇:《 写给大家看的CSS书(第2版) 》.pdf