Hacker News new | ask | show | jobs
by titzer 1958 days ago
Impressive work, and a very nice speedup.

Just a PSA, if you including a .wasm binary in your app, especially if it is large, be sure to request it separately as a .wasm (with MIME type "application/wasm", as your browser will cache the compiled code along with the original bytes in its HTTP cache, so you'll get lightning fast startup.

1 comments

Pairing that with the use of ‘instantiateStreaming’, browsers will even start interpreting and JITing the wasm as it downloads.