Skip to content

Commit e942dec

Browse files
authored
Add context on calling fetch with no-cache (#34304)
1 parent cbf596a commit e942dec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aspnetcore/blazor/host-and-deploy/webassembly.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ In the `wwwroot/index.html` file, set `autostart` to `false` on Blazor's `<scrip
116116
<script src="_framework/blazor.webassembly.js" autostart="false"></script>
117117
```
118118

119-
After Blazor's `<script>` tag and before the closing `</body>` tag, add the following JavaScript code `<script>` block.
119+
After Blazor's `<script>` tag and before the closing `</body>` tag, add the following JavaScript code `<script>` block. The following function calls `fetch` with [`cache: 'no-cache'`](https://developer.mozilla.org/docs/Web/API/Request/cache#value) to keep the browser's cache updated.
120120

121121
:::moniker range=">= aspnetcore-8.0"
122122

0 commit comments

Comments
 (0)