Commit 34434a0
committed
drop _headers attempt; accept upstream's TTL on /resources/*
Cloudflare Pages serves /resources/config.js with max-age=14400
regardless of what _headers declares (verified live: cache-control
header unchanged 2h after deploy, cf-cache-status: MISS). Whatever's
producing the 4h TTL on Pages is not overridable from the deploy
artifact alone -- needs dashboard access we don't have.
Upstream mempool doesn't try to cache-bust /resources/config.js either.
Following that lead: drop the _headers file and its angular.json asset
registration, accept that already-open tabs see a stale
GIT_COMMIT_HASH in the footer until their cache expires (Finding 1
made this lower-stakes -- the footer link is the only thing affected;
isOtsCommit ships correctly via the proxy-injection path).1 parent 44373b2 commit 34434a0
2 files changed
Lines changed: 1 addition & 16 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
177 | 176 | | |
178 | 177 | | |
179 | 178 | | |
| |||
199 | 198 | | |
200 | 199 | | |
201 | 200 | | |
202 | | - | |
203 | | - | |
| 201 | + | |
204 | 202 | | |
205 | 203 | | |
206 | 204 | | |
| |||
This file was deleted.
0 commit comments