Open pavelsavara opened 1 year ago
Tagging subscribers to 'arch-wasm': @lewing See info in area-owners.md if you want to be subscribed.
Author: | pavelsavara |
---|---|
Assignees: | pavelsavara, maraf |
Labels: | `arch-wasm`, `area-System.Runtime.InteropServices.JavaScript` |
Milestone: | 8.0.0 |
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 https://github.com/dotnet/runtime/pull/89435
It may improve situation for https://github.com/dotnet/aspnetcore/issues/41353
I think we are close to be able to drop the custom Cache
and use just HTTP cache + names with hash in it.
I think we are close to be able to drop the custom
Cache
and use just HTTP cache + names with hash in it.
After the last discussion, this is not the case ATM. Keeping this open
The cache in the
WebAssemblyResourceLoader
and also the memory snapshot creates different cache for each app. The current logic takesindex.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
?