Does my origin's gzip compression level matter when it's behind CloudFlare?

Today I uploaded a sitemap.xml file to my site, then realised that my server wasn't set up to gzip .xml files. However, CloudFlare still gzipped it before sending to my browser.

This got me wondering, does it matter what the gzip level is on my origin? Obviously, if I enable gzip compression, it will speed up the transfer between my origin and Cloudflare, but will it make a difference between the end-user and the Cloudflare datacenter?

The final point I'm trying to get to here is, I'm wondering whether it's worth using Nginx's gzip_static and Zopfli compression on my origin server, or if Cloudflare will recompress my files with a different algorithm.

5
2022-07-25 20:39:36
Source Share
Answers: 0