Why do real-world servers prefer gzip over deflate encoding?

后端 未结 6 1101
小鲜肉
小鲜肉 2020-12-07 14:58

We already know deflate encoding is a winner over gzip with respect to speed of encoding, decoding and compression size.

So why do no large sites (that I can find) s

6条回答
  •  难免孤独
    2020-12-07 15:20

    As far as I know (disclaimer: and I'm not an expert here, just what I've heard), gzip uses the same algorithm as deflate but it has more header stuff that make it have a larger size (relative to deflate). However, I think deflate is supported by less clients and proxies.

提交回复
热议问题