Веб без интернет соединения, Михаил Дунаев, MoscowJS 31
•
0 likes•444 views
This document discusses progressive web apps and how they can work offline through the use of service workers and caching. It provides examples of how to register a service worker to cache assets and provide offline fallback pages. It also covers how to implement features like sync, app manifests, and install prompts to make the web app experience more app-like.
1 of 29
Download to read offline
More Related Content
Веб без интернет соединения, Михаил Дунаев, MoscowJS 31
24. /30
You have a web app manifest file, which defines how
your app appears on the user’s system and how it
should be launched
You have a service worker registered on your site. We
recommend a simple custom offline page service worker
Your site is served over HTTPS (service worker
requires HTTPS for security)
The user has visited your site at least twice, with at
least five minutes between visits.
24