摘要: 一、与缓存有关的Header 1、Request If—Modified—Since: 缓存文件的最后修改时间 If—None—Match: 缓存文件的ETag值 Cache—Control:no—cache 不使用缓存 Pragma:no—cache 不使用缓存 2、Reaponse Cache— 阅读全文
posted @ 2016-12-18 16:43 zzz紫川 阅读(1464) 评论(0) 推荐(0) 编辑
摘要: HTTP的压缩过程如下: 1、浏览器发送HTTP Request给Web服务器,Request中含有Accept—Encoding:gzip,deflate(告诉服务器支持的压缩格式); 2、Web服务器接到Request后,生成原始的Response,其中有原始的Content—Type和Cont 阅读全文
posted @ 2016-12-18 15:33 zzz紫川 阅读(523) 评论(0) 推荐(0) 编辑