Skip to content

Blazor wasm caching issue #65065

@codemahek

Description

@codemahek

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

So the whole issue started with this ticket
#64009
And in the latest version i.e. 10.0.2, it has been fixed and now its caching the wasm properly.
Now the issue is slightly different.
Once you open the Blazor wasm, it will get the wasm from cache and even the dotnet.js from the cache which is perfect.
Now keep the page open for sometime and refresh it, now for wasm it will still fetch it from cache but dotnet.js it gives 304.
So seems there is some timeout

Expected Behavior

if nothing is changed, instead of 304 it should get it from cache

Steps To Reproduce

No response

Exceptions (if any)

No response

.NET Version

10.0.2

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs: Attention 👋This issue needs the attention of a contributor, typically because the OP has provided an update.area-blazorIncludes: Blazor, Razor Components

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions