envoyproxy/envoy

gzip: Be able to only compress external responses

Open

#10.310 aberto em 9 de mar. de 2020

Ver no GitHub
 (2 comments) (0 reactions) (0 assignees)C++ (5.373 forks)batch import
area/compressionhelp wanted

Métricas do repositório

Stars
 (27.997 stars)
Métricas de merge de PR
 (Mesclagem média 8d) (378 fundiu PRs em 30d)

Description

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.

Guia do colaborador