Problem statement
Each deploy emits new content-hashed bundles and the previous ones stop being served. A browser tab that was open before the deploy will request a chunk that no longer exists and fail, with no built-in recovery.
Evidence. Cache headers are correct, so this is not a caching bug. See Checked and found working. The failure mode is asset lifetime, not cache policy. We did not manage to reproduce the blank page during this round of work, so this needs a clean repro before filing.
Impact. In an app deployed during working hours, users with an open tab hit a broken lazy load until they reload.
Proposed solution
Retain the previous deployment's assets for a grace period. Separately, document a client-side chunk-load-error handler that triggers a reload, since that pattern is needed regardless.
Alternatives considered
No response
Additional context
No response
Problem statement
Each deploy emits new content-hashed bundles and the previous ones stop being served. A browser tab that was open before the deploy will request a chunk that no longer exists and fail, with no built-in recovery.
Evidence. Cache headers are correct, so this is not a caching bug. See Checked and found working. The failure mode is asset lifetime, not cache policy. We did not manage to reproduce the blank page during this round of work, so this needs a clean repro before filing.
Impact. In an app deployed during working hours, users with an open tab hit a broken lazy load until they reload.
Proposed solution
Retain the previous deployment's assets for a grace period. Separately, document a client-side chunk-load-error handler that triggers a reload, since that pattern is needed regardless.
Alternatives considered
No response
Additional context
No response