Skip to content

Disable cache for binaries and play.html#6

Open
twig33 wants to merge 1 commit intomainfrom
nocache
Open

Disable cache for binaries and play.html#6
twig33 wants to merge 1 commit intomainfrom
nocache

Conversation

@twig33
Copy link
Owner

@twig33 twig33 commented Nov 20, 2021

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"

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.

1 participant

Comments