Can you use gzip over SSL? And Connection: Keep-Alive headers

前端 未结 5 1889
情书的邮戳
情书的邮戳 2020-12-12 22:32

I\'m evaluating the front end performance of a secure (SSL) web app here at work and I\'m wondering if it\'s possible to compress text files (html/css/javascript) over SSL.

5条回答
  •  佛祖请我去吃肉
    2020-12-12 22:58

    Using compression with SSL opens you up to vulnerabilities like BREACH, CRIME, or other chosen plain-text attacks.

    You should disable compression as SSL/TLS have no way to currently mitigate against these length oracle attacks.

提交回复
热议问题