Progressive Web Apps combine web and native app capabilities, delivering app-like experiences through browser technologies. Built on service workers, web app manifests, and HTTPS, PWAs work offline, install to home screens, and send push notifications β all without app store gatekeeping. The critical insight: PWAs don't replace websites or native apps; they bridge the gap by giving web content the reach of URLs and the engagement of apps, with 68% lower development costs than maintaining separate iOS and Android codebases.
What This Cheat Sheet Covers
This topic spans 20 focused tables and 122 indexed concepts. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.
Table 1: Core Requirements
| Requirement | Example | Description |
|---|---|---|
https://example.com | β’ Mandatory for service workers and most PWA APIs β’ localhost/127.0.0.1 exempt for development β’ prevents man-in-the-middle attacks on cached assets. | |
<link rel="manifest" href="/manifest.json"> | β’ JSON file defining app name, icons, display mode β’ linked from HTML β’ enables installation prompt and appearance customization. | |
navigator.serviceWorker.register('/sw.js') | β’ JavaScript proxy between web app and network β’ enables offline functionality, push notifications, and background sync β’ runs independently of page. |