-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[browser] Allow downloading WebAssembly resources without performing other WebAssembly runtime initalization #102254
Conversation
Tagging subscribers to 'arch-wasm': @lewing |
Please add a WBT. Since we will remove custom cache shortly, we can check that all URLs that are used during "download" phase will be used during real start phase. |
I'm not sure that I follow. What would the test look like ? |
What I'm thinking about for the test is that we can ensure that no new resource will be requested during real start after |
Fixes #100299
Note that when we download assets during cold start, they are being loaded into WASM memory as they arrive.
When you already have pre-downloaded the assets with this new API, the startup of the runtime will be more of the burst. Similar as with assets already in a cache.