twig33 / orbs

BSD 2-Clause "Simplified" License
12 stars 6 forks source link

Disable cache for binaries and play.html #6

Open twig33 opened 3 years ago

twig33 commented 3 years ago

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"