You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After switching to trunk, the filenames of the wasm module and the generated js file contain a hash and will change on every update.
Currently, the service_worker.js file contains a list of filenames to cache, which doesn't work anymore due to the hash being part of the filename.
Possible solutions:
Tell trunk to generate stable filenames without hashes
Generate / modify service_worker.js during build such that it contains the correct filenames
I don't know much about web dev and caching in particular, so it's not clear to me which option is preferable. I'll leave this issue open for now, but feel free to make suggestions on the topic.
The text was updated successfully, but these errors were encountered:
After switching to
trunk
, the filenames of the wasm module and the generated js file contain a hash and will change on every update.Currently, the
service_worker.js
file contains a list of filenames to cache, which doesn't work anymore due to the hash being part of the filename.Possible solutions:
trunk
to generate stable filenames without hashesservice_worker.js
during build such that it contains the correct filenamesI don't know much about web dev and caching in particular, so it's not clear to me which option is preferable. I'll leave this issue open for now, but feel free to make suggestions on the topic.
The text was updated successfully, but these errors were encountered: