Skip to content

Commit 203f1a7

Browse files
CR: no-cache for blazor.boot.json
1 parent 85c42bb commit 203f1a7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ export class WebAssemblyResourceLoader {
88
static async initAsync(): Promise<WebAssemblyResourceLoader> {
99
const bootConfigResponse = await fetch('_framework/blazor.boot.json', {
1010
method: 'GET',
11-
credentials: 'include'
11+
credentials: 'include',
12+
cache: 'no-cache'
1213
});
1314

1415
// Define a separate cache for each base href, so we're isolated from any other

0 commit comments

Comments
 (0)