Bug: compression not applied to wasm files

When I have fly static feature enabled, I can see that WebAssembly is served uncompressed. E.g.: https://luajit.me/static/graphviz.6599f23a1960ebc7eb67.wasm

When statics are set, requests under url_prefix that are present as files in guest_path will be delivered directly to clients, bypassing your web server.

We have an allow list of encodable types to make sure we don’t encode something that should not be encoded.

I’ve added application/wasm to the list and deployed. Looks like it’s compressing now!

1 Like

Awesome! You are the best!