2 ms·
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
by titzer 6y 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.
- nitsky 6y agoPairing that with the use of ‘instantiateStreaming’, browsers will even start interpreting and JITing the wasm as it downloads.