-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[browser] Cache identity per query string #85775
Comments
Tagging subscribers to 'arch-wasm': @lewing Issue DetailsThe cache in the Therefore the cache is not loaded when user arrived from external deep link If we fully migrate to assets hashes in the asset name, we could drop @maraf suggested that we could generate Application GUID during build. I guess we would put it into the
|
cc @javiercn thoughts ? |
I believe the cache key could/should be similar to what @pavelsavara implemented for memory snapshot cache - hash of all configuration params + assets hashes |
I think we could still do this in net8 after #89435 |
It may improve situation for dotnet/aspnetcore#41353 |
I think we are close to be able to drop the custom |
After the last discussion, this is not the case ATM. Keeping this open |
We agreed to drop the cache in Net10, what is holding us back now ? |
The cache is important for blazor standalone scenario (where you don't have hosting server under control). |
The cache in the
WebAssemblyResourceLoader
and also the memory snapshot creates different cache for each app.The current logic takes
index.html?item=123
out ofhttp://localhost:53504/index.html?item=123
as cache name.Therefore the cache is not loaded when user arrived from external deep link
item=123
or if the same app has multiple html pages.If we fully migrate to assets hashes in the asset name, we could drop
WebAssemblyResourceLoader
.But the problem would stay for memory snapshot.
@maraf suggested that we could generate Application GUID during build. I guess we would put it into the
boot.config.json
?The text was updated successfully, but these errors were encountered: