1 thought on “Is nginx gzip necessary if Cloudflare CDN is handling gzip/brotli compression?”

  1. Yes. Content-encoding is a point-to-point header. For efficiency, it’s best to compress content between each hop in your proxy chain. Modern CPUs have gzip instructions built in and so decompression is very fast and outweigh the time costs of computation, not to mention fewer bytes to transfer on the wire long distances.

    Reply

Leave a Comment