找回密码
 立即注册
HTTPThe克里斯托弗状态 | 软件工程 2022-04-28 205 0star收藏 版权: . 保留作者信息 . 禁止商业使用 . 禁止修改作品
在之前的第 13 课和第 14 课中,我说过 HTTP 是“无状态的”,这既是优点也是缺点。 优点是服务器没有状态差异,可以轻松集群,缺点是不能支持需要状态记录的事务操作。
好在 HTTP 协议是可扩展的,后来发明的 Cookie 技术为 HTTP 添加了“内存能力”。
什么是饼干?
不知道大家有没有看过克里斯托弗·诺兰执导的经典电影《记忆碎片》,里面的主人公患有短期健忘症,记不起最近发生的事情。

(In previous lessons 13 and 14, I said that HTTP is "stateless", which is both an advantage and a disadvantage. The advantage is that the server has no state difference and can be easily clustered. The disadvantage is that it can not support transaction operations requiring state records.Fortunately, the HTTP protocol is extensible, and the cookie technology invented later adds "memory capability" to http.What are cookies?I wonder if you have seen the classic film "memory fragments" directed by Christopher Nolan, in which the protagonist suffers from short-term amnesia and can't remember what happened recently.)

[下载]08374959217.rar




上一篇:深入浅出Ext JS(第2版).pdf
下一篇:生鲜速递:HTTP的缓存控制.pdf