Compressing Web Pages at Origin and/OR Compressing Web Pages at Cloudflare Edge

I’m on cPanel shared host, and in PHP settings, as well as HTACCESS file, I’ve enable gzip compression for html, php, text files, etc. So when Cloudflare requests webpage from my Origin server it sends gzip file.

I’ve also enabled brotli compression in Cloudflare. So when user requests the webpage from Cloudflare he is served a zip file.

My question is:

  1. Is is worth to compress pages 2 times? Once a origin and again at edge location?
  2. What happens if I don’t compress it either at origin or at Cloudflare edge? (in regards with faster delivery)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.