CDN for webc files. It fetches the webc url from the backend, and then fetches the webc file from the webc url. It then serves the webc file to the client. The webc file is cached locally.
The file is also optionally compressed with gzip by passing in the
Accept-Encoding: gzip
header.
/owner/package@version
HEAD
requests should return the content length and the content type.webc-server
, and that already compiles to wasmer.Content-Length
Content-Type
X-Content-SHA256
cargo run
RUST_LOG=debug cargo run