Skip to content

Commit 8c90a08

Browse files
Cache name tweak for alignment with PWA cache name
1 parent 1104c2b commit 8c90a08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Web.JS/src/Platform/WebAssemblyResourceLoader.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export class WebAssemblyResourceLoader {
1212
});
1313

1414
const relativeBaseHref = document.baseURI.substring(document.location.origin.length);
15-
const cacheName = `blazorresources:${relativeBaseHref}`;
15+
const cacheName = `blazor-resources-${relativeBaseHref}`;
1616
return new WebAssemblyResourceLoader(
1717
await bootConfigResponse.json(),
1818
await caches.open(cacheName));

0 commit comments

Comments
 (0)