PWA Documentation
Turn a Craft site into an app people can install
Installation
Requirements, install, and getting from a bare Craft site to an app a browser will offer to install.
Configuration
The manifest, every setting, the config file, environment variables and permissions.
Usage
The flight deck, the install prompt, offline, Twig, the page runtime and the console.
Troubleshooting
No install offer, a manifest that 404s, changes that will not show up, and what to check first.
FAQ
Common questions about turning a Craft site into an installable progressive web app.
The flight plan
The caching rules the service worker follows: defaults, matching, strategies, buckets and precache.
Preflight
Every check preflight makes over HTTP, which ones block an install, and how the score works.
Web push
Self-hosted push notifications: keys, subscribing, broadcasting, and what the delivery numbers mean.
Extending PWA
Placing the tags by hand, the page runtime, worker messages, services and permissions.