开发者

mod_deflate Supported Encodings for Compression

开发者 https://www.devze.com 2022-12-27 17:08 出处:网络
It seems to me, that mod_deflate in Apache 2.2 will always return: Content-Encoding: gzip and never: Content-Encoding: deflate

It seems to me, that mod_deflate in Apache 2.2 will always return:

Content-Encoding: gzip

and never:

Content-Encoding: deflate

It was explained to me, that although there may be a deflate algorithm, mod_deflate is named after a file-format, i开发者_StackOverflow中文版n which the algorithm could be any of:

gzip, bzip. pkzip

Of those three, mod_deflate provides gzip.

It seems as though gzip is the most popular and widely-supported algorithm in web browsers, but I know some web servers and proxies do return Content-Encoding: deflate.

Aside from the confusion of the module's name, it true that mod_deflate will only return Content-Encoding: gzip?

Thank you.


The fact is mod_deflate supports only deflate.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号