wasmerio / wasmer

🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten
https://wasmer.io
MIT License
18.28k stars 775 forks source link

wasmer-api : Enable compression support for both queries and responses #4926

Open theduke opened 2 weeks ago

theduke commented 2 weeks ago

Currently the wasmer-api crate does not use compression for either requests or responses.

We should enable compression in both directions.

Note: since https://github.com/wasmerio/wasmer/pull/4920 added support for web with the wasm32-unknown-unknown target, the related logic and additional features might need to be restricted/modified for non-wasm32-unknown targets , because there the browser will transparently decompress.

theduke commented 2 weeks ago

Note: responses are more important.