platform-guideline checked

MDN PWA offline and background operation

Documents service-worker controlled pages, Cache API use, cache-first strategies, offline fallback pages, background synchronization, and intermittent-connectivity support for progressive web apps.

Open source

Pattern Decisions This Source Supports

Pattern Supported decision Required contract Claim note
Offline mobile retry Choose offline mobile retry when a mobile action should be preserved and retried after connection loss, flaky network, app backgrounding, or policy-limited connectivity. The UI never reports server success for a mobile action that is only saved locally or queued. Supports offline fallback, service-worker behavior, caching, and background operation for PWAs.
Offline state Choose offline state when connection loss changes what users can read, edit, save, submit, refresh, upload, export, or share. The offline indicator appears only when connectivity affects the current task or a global app capability users can reasonably act on. MDN supports service workers, Cache API strategies, offline fallback pages, and background operations for intermittent connectivity.

Evidence Role

This source is treated as platform-guideline evidence. Use it to validate the decision rules above, not as a visual style reference.

Publisher: MDN Web Docs. Last checked: .