This would keep people's binaries up-to-date, eliminating the need for clearing the cache every time there's an update to them.
If you modified some other file you can do as i did with play.css:
<link rel="stylesheet" href="play.css?modified=20211120">
index.wasm is about 7 mb though. I wonder if it's better for it to be cached? That's possible too, but if you updated it, you'd need to modify index.js like this:
wasmBinaryFile="index.wasm?modified=xxxxxxxx"
This would keep people's binaries up-to-date, eliminating the need for clearing the cache every time there's an update to them. If you modified some other file you can do as i did with play.css:
<link rel="stylesheet" href="play.css?modified=20211120">
index.wasm is about 7 mb though. I wonder if it's better for it to be cached? That's possible too, but if you updated it, you'd need to modify index.js like this:
wasmBinaryFile="index.wasm?modified=xxxxxxxx"