Activate gzip compression on istio 1.7.2 ingress-gateway

Hi,
i am trying to activate gzip compression filter on ingress-gateway but it does not appear to be working for me. Can any one share examples of gzip compression activation would be more helpful.

Thanks,
Vikas

Can you share your configurations?

Hi,
Thanks for your reply. Below is my config for envoy proxy gzip compression.

apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
name: ingressgateway-gzip
namespace: istio-system
spec:
workloadSelector:
labels:
istio: ingressgateway
configPatches:
- applyTo: HTTP_FILTER
match:
context: GATEWAY
listener:
filterChain:
filter:
name: “envoy.http_connection_manager”
subFilter:
name: ‘envoy.router’
patch:
operation: INSERT_BEFORE
value:
typed_config:
@type”: type.googleapis.com/envoy.extensions.filters.http.compressor.v3.Compressor
disable_on_etag_header: true
content_length: 100
content_type:
- text/html
- application/json
compressor_library:
name: text_optimized
typed_config:
@type”: type.googleapis.com/envoy.extensions.compression.gzip.compressor.v3.Gzip
memory_level: 3
window_bits: 10
compression_level: best_compression
compression_strategy: default_strategy