Skip to content

fix(web): no-store on the GUI shell HTML (no stale cache after update)#204

Merged
oratis merged 1 commit into
mainfrom
feat/web-no-store-html
Jul 1, 2026
Merged

fix(web): no-store on the GUI shell HTML (no stale cache after update)#204
oratis merged 1 commit into
mainfrom
feat/web-no-store-html

Conversation

@oratis

@oratis oratis commented Jul 1, 2026

Copy link
Copy Markdown
Owner

A WKWebView (Mac app) / browser cached the shell HTML, so after lisa was updated the old GUI kept rendering (a removed element still showing) until the WebKit store was manually cleared. Add Cache-Control: no-store to / (MAIN_HTML) + /island (ISLAND_HTML); hashed assets keep their own long-cache headers. Verified: typecheck + HTML snapshot + auth tests.

🤖 Generated with Claude Code

… cache after update

A WKWebView (the Mac app) / browser cached the shell HTML, so after `lisa` was
updated the old GUI kept rendering — e.g. a "removed" element still showing — until
the WebKit data store was manually cleared. The shell carries the current markup +
asset references, so it must always be fresh. Add `Cache-Control: no-store` to the
`/` (MAIN_HTML) and `/island` (ISLAND_HTML) responses. Hashed assets keep their own
long-cache headers; only the shell is no-store.

Verified: typecheck + HTML snapshot + auth tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@oratis oratis merged commit 7750b75 into main Jul 1, 2026
1 check passed
@oratis oratis deleted the feat/web-no-store-html branch July 2, 2026 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant