前端A节点使用Nginx的proxy cache加速后端B节点
A B 都使用了Gzip 所以我想确定没有多次压缩
A B 都使用了Gzip 所以我想确定没有多次压缩
1
binux Jan 30, 2013 我怎么不知道curl和wget会自动解压gzip?
curl -H 'Accept-Encoding:gzip' http://somewhere.com/ |
2
Tianpu OP @binux 非常感谢
>curl -H 'Accept-Encoding:gzip' www.domain.com > temp >gzip -d temp >cat temp 一次解压后看到全是明文 是不是表示只经过一次压缩了? |