Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ docstring gives: it is a record, not a claim about now.

## 2026-11-24

- **The wall page's files are served with `Cache-Control: no-cache`.** The
card-by-card review's changes, below, reached `trinity` at `c5374a15`,
but `heimdall`'s kiosk kept running the old `wall.js` through a Chromium
restart: it fetched neither the page nor the script, and asked for the
removed `/api/q/rtt`, `/api/ha/office_light` and `/api/ha/dogs`, each a
404. Caddy sent no caching header, so Chromium kept its copy on a
freshness it guessed from the files' age. Deleting its `Cache_Data` and
restarting it loaded the new page, which then asked only for routes that
answer. Without the header, the page's six-hourly reload would not have
brought in a change either.
- **`heimdall` runs October 2026's bootloader.** This completes the entry
"`heimdall` runs the new §2 steps, and its bootloader is staged on the
card, not written by `flashrom`". The operator rebooted it, and it was up
Expand Down
7 changes: 7 additions & 0 deletions stacks/sensitive/Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,14 @@ wall.matrix.elysium {
respond "no such question" 404
}

# The page, its script and its stylesheet. `no-cache` makes the
# browser ask before reusing its copy (a 304 when nothing changed).
# Without it Chromium guesses a freshness from Last-Modified, which
# for files weeks old is days: on 2026-11-24 heimdall's kiosk kept
# running the old wall.js through a restart, and only a cleared cache
# brought the new one. wall.js's six-hourly reload depends on this.
handle {
header Cache-Control no-cache
root * /srv/wall
file_server
}
Expand Down
5 changes: 5 additions & 0 deletions stacks/sensitive/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,6 +778,11 @@ static files.
- **It loads nothing from anywhere else.** The site's Content-Security-Policy
allows only itself. There are no web fonts; the stacks fall back to the
Pi's DejaVu.
- **A change reaches the screen by itself.** The page reloads every six
hours, and its files are served with `Cache-Control: no-cache`, so each
load asks Caddy whether they changed instead of trusting the browser's
copy. To see a change sooner, stop Chromium on `heimdall`; `lwrespawn`
starts it again a second later on a fresh load.
- **Only what notifies counts.** The verdict and the alert list take
`critical` and `warning` alerts only, as those are what Alertmanager
delivers, the same rule the Glance *Estate* panel keeps. An `info` alert is
Expand Down