Skip to content
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

Use WebAssembly.instantiateStreaming() if it supports by browser #6324

Closed
AGulev opened this issue Jan 13, 2022 · 0 comments · Fixed by #6376
Closed

Use WebAssembly.instantiateStreaming() if it supports by browser #6324

AGulev opened this issue Jan 13, 2022 · 0 comments · Fixed by #6376
Assignees
Labels
html5 Issue related to the HTML5 platform task A task that needs to be performed
Projects

Comments

@AGulev
Copy link
Contributor

AGulev commented Jan 13, 2022

Task (REQUIRED):
The WebAssembly.instantiateStreaming() function compiles and instantiates a WebAssembly module directly from a streamed underlying source. This is the most efficient, optimized way to load wasm code.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/WebAssembly/instantiateStreaming

Note: For this to work, .wasm files should be returned with an application/wasm MIME type by the server.

Expected outcome (REQUIRED):
Faster loading of html5 bundle on most of the browsers

@AGulev AGulev added task A task that needs to be performed html5 Issue related to the HTML5 platform labels Jan 13, 2022
@britzl britzl added this to To do in 1.3.0 via automation Jan 13, 2022
@britzl britzl moved this from To do to In progress in 1.3.0 Feb 3, 2022
@britzl britzl self-assigned this Feb 3, 2022
1.3.0 automation moved this from In progress to Done Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
html5 Issue related to the HTML5 platform task A task that needs to be performed
Projects
No open projects
1.3.0
  
Done
Development

Successfully merging a pull request may close this issue.

2 participants