janriemer, #Idea for loading #WebAssembly #WASM in the browser 💡
On initial load, ship the most optimized wasm bundle regarding bundle size to the client, so that time to interactive is minimal:
https://rustwasm.github.io/book/reference/code-size.html
After initial load, when idle, ship another bundle async, which might be bigger in size, but is optimized for speed and swap the two bundles with each other.
Add comment