fix(server): scope no-cache to HTML pages (fix web-e2e cycle gate) #102
Reference in New Issue
Block a user
Delete Branch "fix/cache-scope-html-only"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The blanket Cache-Control: no-cache from #99 broke the web-e2e cycle regression gate (240 page reloads -> wasm recompiled each time -> 30s bridge timeout; green at #98, red since #99).
Scope no-cache to the include_str! HTML routes only (the real staleness source). /web + /assets keep ServeDir Last-Modified caching, so repeated loads reuse the compiled wasm and the gate is fast again. HTML freshness unchanged.
Should turn web-e2e green on the next merge.