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


#1

Hi,
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)

#2

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