Learn how to compress JSON responses using Traffic Policy to improve performance and reduce bandwidth usage.
With Traffic Policy, you can ensure all JSON responses returned by your upstream services are compressed en route to the API consumer.This rule compresses JSON responses using the gzip, br, deflate, and compress algorithms.
If your upstream service already handles compression, ngrok skips this step.