【问题标题】:Are cookies compresssing with gzip encoding?cookie 是用 gzip 编码压缩的吗?
【发布时间】:2020-04-23 08:31:02
【问题描述】:

当请求标头:Accept-Encoding: gzip, deflate 时,http标头是否与请求正文一起使用gzip编码压缩?

【问题讨论】:

    标签: http http-headers gzip


    【解决方案1】:

    似乎没有,因为 Accept-Encoding 在标头中声明了编码。所以,cookies 也在没有 gzip 的情况下发送。它可能会造成冗余的网络加载,尤其是当页面上有许多资产文件时。

    【讨论】:

      猜你喜欢
      • 2021-11-30
      • 2015-07-21
      • 2016-12-26
      • 1970-01-01
      • 2012-12-02
      • 2011-07-13
      • 1970-01-01
      • 1970-01-01
      • 2015-07-14
      相关资源
      最近更新 更多