Skip to content

Commit 34434a0

Browse files
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

File tree

frontend/angular.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,6 @@
173173
"src/customize.js",
174174
"src/config.template.js",
175175
"src/_redirects",
176-
"src/_headers",
177176
{
178177
"glob": "*.css",
179178
"input": ".theme-build",
@@ -199,8 +198,7 @@
199198
"assets": [
200199
"src/favicon.ico",
201200
"src/robots.txt",
202-
"src/_redirects",
203-
"src/_headers"
201+
"src/_redirects"
204202
],
205203
"fileReplacements": [
206204
{

frontend/src/_headers

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)