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:
- Is is worth to compress pages 2 times? Once a origin and again at edge location?
- What happens if I don’t compress it either at origin or at cloudflare edge? (in regards with faster delivery)