Commit 12ac501
committed
fix: disable browser caching for static files in dev mode
Wrap the dev mode file server with Cache-Control: no-store so the
browser always fetches JS files fresh from disk on every refresh,
without needing a hard refresh (Ctrl+Shift+R).1 parent ae757d7 commit 12ac501
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
0 commit comments