Commit 636edbf
fix(harness-view): cache-bust loader fetches so reload always picks up redeploys
GitHub Pages + browser caches were serving stale indexes/*.json and
data/*.json after a `doc-v*` redeploy — users had to do a hard reload
(Ctrl+F5) to see the new build. loader.js now appends a per-page-load
`?_t=<timestamp>` query to every fetch, so a normal reload always
pulls fresh content while in-session duplicate calls still hit cache.
Applies to fetchText / fetchJson, which loadIndex / loadData / loadMd
all flow through.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 0bd233b commit 636edbf
1 file changed
Lines changed: 17 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
2 | 16 | | |
3 | 17 | | |
4 | | - | |
| 18 | + | |
5 | 19 | | |
6 | 20 | | |
7 | 21 | | |
8 | 22 | | |
9 | 23 | | |
10 | | - | |
| 24 | + | |
11 | 25 | | |
12 | 26 | | |
13 | 27 | | |
| |||
0 commit comments