Quantcast
Channel: Active questions tagged blazor - Stack Overflow
Viewing all articles
Browse latest Browse all 4839

Blazor Webassembly Cache Cleanup issue

$
0
0

I've a Blazor Webassembly application without PWA (.NET 8). We are facing issues in deployment, that whenver a new version is deployed the cache storage in client(browser) doesn't get refresh automatically, hence having staled pages from previous user sessions.

I want the cache to be cleared on client side each time a new deployment/new version released.I've gone through below articles/nuget packages:-

  1. https://whuysentruit.medium.com/blazor-wasm-pwa-adding-a-new-update-available-notification-d9f65c4ad13
  2. https://blog.razorcomponents.net/2019/02/handling-version-updates-in-blazor-pwa.html
  3. https://github.com/jsakamoto/Toolbelt.Blazor.PWA.Updater

But all the above works with PWA, our application is without PWA hence its not feasible to use the solution provided in above articles.

Can anyone please share their experience and how they resolve this issue?

Thanks in advance.


Viewing all articles
Browse latest Browse all 4839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>