我剛纔查了一下gzip和Deflate,發現Deflate比較好。爲什麼主要網站使用gzip?
- GZip or Deflate for HTTP compression
- Why use deflate instead of gzip for text files served by Apache?
- Is there any performance hit involved in choosing gzip over deflate for http compression?
- Deflate compression browser compatibility and advantages over GZIP
但是當我檢查谷歌,Facebook和StackExchange的響應頭他們正在使用GZIP人。爲什麼他們使用gzip而不是Deflate?
顯然Apache默認發送gzip:http://stackoverflow.com/a/3577932/82769;聽起來不同的是每個請求只有18個字節,所以對於我們大多數人來說這不是緊迫的問題。 – 2012-02-07 02:50:13