开发者

Do I need/want gzip compression when using HTTPS?

开发者 https://www.devze.com 2023-01-25 05:47 出处:网络
Does using HTTPS already include (transparent) content compression or should I still worr开发者_JS百科y about negotiating with the browser whether to compress my Servlet output? If HTTPS already has c

Does using HTTPS already include (transparent) content compression or should I still worr开发者_JS百科y about negotiating with the browser whether to compress my Servlet output? If HTTPS already has compression, is it unconditional or does it need to be configured/negotiated/enabled?


TLS by default doesn't enable compression, though it (compression) is defined in TLS standard and can be enabled if both parties support it. So it's better to not rely on it and request it on HTTP level.


HTTPS only provides encryption. It does not compress the content. You should still negotiate gzip compression.

0

精彩评论

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