Commit a3e0b3f
fix(vercel): disable HTML caching for SPA index pages
Rewrite cache was serving stale index.html with old asset hashes after
deploys. Adding must-revalidate to non-asset paths under /_studio/,
/_account/, and /_dashboard/ ensures the CDN refetches index.html on
every deploy.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent e4a7bc8 commit a3e0b3f
1 file changed
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
36 | 54 | | |
37 | 55 | | |
38 | 56 | | |
| |||
0 commit comments