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

Add application/wasm to mimetypes.nim #8389

Merged
merged 1 commit into from
Jul 21, 2018
Merged

Add application/wasm to mimetypes.nim #8389

merged 1 commit into from
Jul 21, 2018

Conversation

zacharycarter
Copy link
Contributor

Suggesting adding wasm | application/wasm as a mimetype to the mimedb.

This comes from emscripten docs -

To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads.

http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#web-server-setup

Jester relies on this mimedb and if you try to serve up files with wasm extensions via Jester, it will generate errors in firefox / chrome as well.

```
To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads.
```

http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#web-server-setup
@Araq Araq merged commit 9379f93 into nim-lang:devel Jul 21, 2018
timotheecour pushed a commit to timotheecour/Nim that referenced this pull request Jul 22, 2018
```
To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads.
```

http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#web-server-setup
timotheecour pushed a commit to timotheecour/Nim that referenced this pull request Jul 22, 2018
```
To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads.
```

http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#web-server-setup
timotheecour pushed a commit to timotheecour/Nim that referenced this pull request Jul 23, 2018
```
To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads.
```

http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#web-server-setup
timotheecour pushed a commit to timotheecour/Nim that referenced this pull request Jul 23, 2018
```
To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads.
```

http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#web-server-setup
timotheecour pushed a commit to timotheecour/Nim that referenced this pull request Jul 23, 2018
```
To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads.
```

http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#web-server-setup
timotheecour pushed a commit to timotheecour/Nim that referenced this pull request Jul 24, 2018
```
To serve wasm in the most efficient way over the network, make sure your web server has the proper MIME time for .wasm files, which is application/wasm. That will allow streaming compilation, where the browser can start to compile code as it downloads.
```

http://kripken.github.io/emscripten-site/docs/compiling/WebAssembly.html#web-server-setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants