DEV Community

Discussion on: A simple way to create a PWA with Blazor WebAssembly

Collapse
 
mistermag00 profile image
ℳisterℳagoo #Blazor

Nice write-up, thanks Bradley.

In my own application, I use this to keep the browser cache version in sync with my application version.

<ServiceWorkerCacheVersion Condition="'$(Configuration)' == 'Release'">$(Version)</ServiceWorkerCacheVersion>

Collapse
 
fakhrulhilal profile image
Fakhrulhilal M

Does it mean, whenever you publish the new version to the web server, then all installed/cached version will be updated to the latest version again?

Collapse
 
bradwellsb profile image
Bradley Wells

Clever! Great tip 👍