12 Replies
Only gzip and brotli right now, and brolti to origin was rolling out earlier this year, I think it's all finished now though:
https://developers.cloudflare.com/speed/optimization/content/brotli/content-compression/
Cloudflare Docs
Content compression | Brotli · Cloudflare Speed docs
Cloudflare compresses content in two ways: between Cloudflare and your website visitors and between Cloudflare and your origin server.
thx
its in chrome
just in chrome yea, and 123 just made it to stable right? Got a while to go
caniuse estimates 0.02% of users currently support it lol
there's a forum suggestion if you want to upvote it: https://community.cloudflare.com/t/add-support-for-zstd-as-a-content-encoding/604123
CF in their brotli to origin blog as well
Looking forward, we are closely following trends and new compression algorithms such as zstd as a possible next-generation compression algorithm.https://blog.cloudflare.com/this-is-brotli-from-origin So maybe eventually
nice
thanks!
Hey, sorry for visiting old thread but does cloudflare support zstd compression from origin servers or are brotli/gzip the only options?
I saw this release but wasn't able to understand if this is just for the users->cloudflare or cloudflare->origin?
https://discord.com/channels/595317990191398933/1040420029080018945/1285546053076127744
According to this page not yet: https://developers.cloudflare.com/speed/optimization/content/brotli/content-compression/
Cloudflare Docs
Content compression | Cloudflare Speed docs
Cloudflare compresses content in two ways: between Cloudflare and your website visitors and between Cloudflare and your origin server.
Just users->cloudflare
What would be the best place to ask support for this? zstd allows me to store so much more data in the origin server and it would save compute power (and environment 🌍 ) if I could just pass these files directly to cloudflare without decompressing them first.
I do understand it's probably still far away
Forums: https://community.cloudflare.com/c/feedback/feature-request/30
it took 6 years from gzip being added at edge for it to be accepted from origins
so yea might be a bit lol. I think now fundamentally too zstd from edge is nginx/in front end code and the origin requesting code lives entirely in pingora/rust, so entirely different stacks, probably some of the reason for the delay
Thanks! That's great expectation management from you but I'm willing to wait 6 or more years 🙉
And just to let others to find the feature request more easily I will link here as well: https://community.cloudflare.com/t/add-zstd-content-encoding-support-between-cloudflare-and-origin-servers/713907