Page is sent with Cache-Control: no-cache (closes #141) #170

Merged
clawbot merged 1 commits from issue-141-page-no-cache into next 2026-10-19 03:10:40 +02:00
1 Commits
Author SHA1 Message Date
sneak fb998b45d7 Page is sent with Cache-Control: no-cache (closes #141)
check / check (push) Waiting to run
nginx sent index.html with no Cache-Control, so a browser could keep
it after a deploy and ask for hashed assets the new build no longer
has, and show an empty page. location / now adds Cache-Control:
no-cache, which covers its try_files fallback to /index.html, and
includes security-headers.conf again, since its own add_header drops
the server's. /assets/ and the paths passed to the backend are
unchanged.

script/frontend-viewport-test fails unless / and a path that falls
back to the page carry Cache-Control: no-cache and
Content-Security-Policy, which comes from the same file as the other
security headers.

Model: opus-5-5
2026-10-19 01:07:41 +00:00