Description
I think we should change our templates to do `serviceWorker.register('...', { updateViaCache: 'none' })`
Originally posted by @javiercn in #39252 (comment)
We might also want to modernize
the service worker and use ES modules (now supported) instead of plain scripts as they allow dependencies to be stated explicitly.
The fix is to change the registration https://github.com/dotnet/aspnetcore/blob/main/src/ProjectTemplates/Web.ProjectTemplates/content/ComponentsWebAssembly-CSharp/wwwroot/index.html#L51
Metadata
Metadata
Assignees
Labels
Work that is nice to haveIncludes: Blazor, Razor ComponentsThis issue describes a behavior which is not expected - a bug.This issue is related to and / or impacts Blazor WebAssemblyIssues related to building PWAs with BlazorIndicates that the issues may be a good fit for community to help with. Requires work from eng. team