摘要: 1 gzip模块 参考:http://nginx.org/en/docs/http/ngx_http_gzip_module.html 浏览器的请求头里会表明Accept-Encoding 方式。服务器收到请求,就把内存按格式压缩,发给浏览器,响应头里会说明Content-Encoding和Cont 阅读全文
posted @ 2018-06-30 18:18 jabbok 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 在服务器的响应头中,有Content-Type一行,表明传输的http媒体类型。 比如:txt文件就用text/plain 表明。 conf/mime.type 阅读全文
posted @ 2018-06-30 17:59 jabbok 阅读(297) 评论(0) 推荐(0) 编辑