Hello, I’m working on a game that could really get some legs with streaming compilation of web assembly. In order for streaming web assembly to work, my impression is that it cannot be compressed by Cloudflare, but of course that is exactly what it does with .wasm files.
I’m thinking that I could decompress the response in a worker and cache the result, but I’m Cloudflare worker newbie. Firstly is a Cloudflare worker to decompress the response the correct approach? Would anyone know the best way or have an example of decompressing either a brotli or gzipped file in a Cloudflare worker?
Thanks for any help!
Curt