envoyproxy/envoy

gzip: Be able to only compress external responses

Open

#10.310 aperta il 9 mar 2020

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)C++ (5373 fork)batch import
area/compressionhelp wanted

Metriche repository

Star
 (27.997 star)
Metriche merge PR
 (Merge medio 8g) (378 PR mergiate in 30 g)

Descrizione

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.

Guida contributor