Last post Mar 02, 2021 11:58 AM by derflongbottom
Mar 02, 2021 11:58 AM|derflongbottom|LINK
I am having trouble with getting the Web Assembly to update for my clients. I have added this to my service worker:
const CACHE_VERSION = 10022;
/* updated 2021-01-04 1:25 */
This seems to work on every browser except Safari. But still the user has to log out and close the tab and re browse to the site to get it to update. That is a problem if I update the database, which lives in Azure. If I update the database and a user
has an old version then they just get an error.
How can I force WASM to reload? Or can I use SignalR somehow to force WASM to reload?