envoyproxy/envoy

gzip: Be able to only compress external responses

Open

#10,310 创建于 2020年3月9日

在 GitHub 查看
 (2 评论) (0 反应) (0 负责人)C++ (5,373 fork)batch import
area/compressionhelp wanted

仓库指标

Star
 (27,997 star)
PR 合并指标
 (平均合并 8天) (30 天内合并 378 个 PR)

描述

gzip: Be able to only compress external responses

Description: Since gzip is pretty computationally heavy, it would be great if envoy had the option to only gzip responses that will be external. We don't want to gzip at the front proxy layer, as our front proxy is CPU sensitive. But it would be great if we can compress just one hop over at the sidecar of edge services.

Ideally, this means if a request has the header x-envoy-external-address, the sidecar will compress the response.

贡献者指南