Reputation: 198
Did anyone manage to enable GZIP compression for outgoig (aka downstream
) application/json
, text/plain
responses (payloads)?
I traced it down to [https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/gzip_filter#runtime][1]
, but did not find a way to enable it using ESPv2 docker image…
Update 08/05/2021:
· Setting Accept-Encoding: gzip
request header has no effect, returned response is not gzipped.
· And indeed, the new/updated filter is envoy.filters.http.compressor
In particular, https://github.com/GoogleCloudPlatform/esp-v2/blob/master/src/go/util/marshal.go
does not mention compressor
(legacy gzip
) http filter either…
Any ideas?
Upvotes: 0
Views: 625
Reputation: 6689
Currently (as of 16th September 2021) gzip compression on ESP v2 is not supported at all, see: https://github.com/GoogleCloudPlatform/esp-v2/issues/607
Upvotes: 1