Skip to content

dotnet.js for AOTed apps needs a better cache-busting mechanism #30788

@pranavkm

Description

@pranavkm

Currently the Blazor SDK cache-busts dotnet.js by including the framework version as part of the built or published file name. With AOT, this might not be sufficient since the contents of the file can change depending on what code is being AOT compiled. We need an alternate way to mangle the filename for cache busting. A simple solution might be to include the hash of the file as part of the file name.

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedarea-blazorIncludes: Blazor, Razor ComponentsenhancementThis issue represents an ask for new feature or an enhancement to an existing onefeature-blazor-aot-compilationThis issue is related to AoT compilation of Blazor WebAssembly appsfeature-blazor-boot-up

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions