service-manual checked
web.dev: Back/forward cache
Documents browser back/forward cache behavior and recommends avoiding unload handlers and adding beforeunload listeners only when necessary, such as while unsaved user changes are present.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Exit warning | Choose exit warning when departure has already been attempted and leaving would lose work or context that is not safely recoverable. | The warning appears only after a departure attempt or immediately before a known session boundary that could cause loss. | web.dev documents browser navigation-cache considerations and recommends limiting unload-related handlers. |
Evidence Role
This source is treated as service-manual evidence. Use it to validate the decision rules above, not as a visual style reference.
Publisher: web.dev. Last checked: .