offline-fallback
/offline-fallback
Pomaga dodawać możliwości PWA, wdrażać service workera i poprawiać działanie aplikacji dla użytkowników z niestabilnym połączeniem.
- Autor
- thedaviddias ↗
- Repozytorium
- front-end-checklist ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 06.10.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 06.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pomaga dodawać możliwości PWA, wdrażać service workera i poprawiać działanie aplikacji dla użytkowników z niestabilnym połączeniem.
Oryginalny opis (EN)
Use when adding PWA capabilities, implementing a service worker, or improving the experience for users on unreliable network connections.
Jak działa
- Quick Reference
- Check
- Fix
- Explain
- Code Review
Podgląd SKILL.md
---
name: offline-fallback
description: "Use when adding PWA capabilities, implementing a service worker, or improving the experience for users on unreliable network connections."
metadata:
category: performance
priority: low
difficulty: beginner
estimatedTime: "20"
source: frontendchecklist.io
url: https://frontendchecklist.io/rules/performance/offline-fallback
---
# Provide an offline fallback page
The browser's default offline error screen ("No internet connection") is confusing and completely outside your brand. A custom offline page maintains the user experience, reinforces trust, and can surface cached content or useful actions — such as enabling users to continue reading a cached article or queuing a form submission for later.
## Quick Reference
- Create a minimal /offline HTML page that works without any network requests
- Pre-cache the offline page during the service worker install event
- Intercept failed navigation requests and serve the offline page instead
- Include helpful guidance so users know what to do while offline
## Check
Check whether the site shows a custom offline fallback page when the network is disconnected and a navigation request cannot be fulfilled.
## Fix
Create a self-contained /offline page and configure the service worker to pre-cache it and serve it for failed navigation requests.
## Explain
Explain how a service worker can intercept failed network requests and return a cached offline fallback page to the user.
## Code Review
Review the service worker fetch handler and the offline page markup. Verify the offline page is pre-cached at install time, that it does not depend on external resources, and that the fallback is only served for navigation requests (not sub-resources).
---
For full implementation details, code examples, and framework-specific guidance,
see `references/rule.md`.
Rule page: https://frontendchecklist.io/rules/performance/offline-fallback
Pliki w paczce (2)
- SKILL.md 2 KB
- references/rule.md 7 KB
Wersje
W bazie nie ma innych skilli o nazwie offline-fallback.
Migawka bazy z 13.11.2026 · wersja paczki 5d8e55f210a0 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100pwa-stinger
Wdraża manifest PWA, cykl życia service workera i ograniczone publiczne zasoby offline w zakresie wybranych zmian PWA. - 100service-worker
Ocenia wydajność przy kolejnych wizytach, dodaje obsługę offline i sprawdza gotowość aplikacji webowej do działania jako PWA. - 90fec-pwa-implementation
Dodaje i przegląda funkcje Progressive Web App: możliwość instalacji, manifest, rejestrację Service Workera, cache Workbox, tryb offline, monity o aktualizacji, ikony maskable i zgodność z PWA na iOS. - 100enhance-pwa
Dodaje lub rozbudowuje funkcje PWA: manifest, service worker, tryb offline, monit instalacji, push i background sync. - 95pwa-development
Pomaga tworzyć instalowalne aplikacje internetowe działające offline, wdrażać service workery i budować rozwiązania typu offline-first. - 95pwa
Dodaje do aplikacji Next.js funkcje Progressive Web App: service workery, tryb offline, powiadomienia push, monity instalacji, strategie cache i synchronizację w tle.