We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51a2e20 commit 92f03eaCopy full SHA for 92f03ea
1 file changed
cloud/deploy/nginx/blazor.conf
@@ -25,6 +25,18 @@ server {
25
application/xml application/xml+rss text/javascript application/wasm
26
application/octet-stream;
27
28
+ # Service worker - must NOT be cached (enables update detection)
29
+ location = /service-worker.js {
30
+ expires -1;
31
+ add_header Cache-Control "no-store, no-cache, must-revalidate";
32
+ }
33
+
34
+ # index.html - should not be cached (SPA entry point)
35
+ location = /index.html {
36
37
38
39
40
# Blazor framework files (long cache, immutable hashes)
41
location /_framework/ {
42
expires 1y;
0 commit comments