A Practical Guide to Progressive Web Apps
Websites that use a web app manifest and a service worker so they can be installed, keep working on poor or missing connections, and load quickly on repeat visits.
On this page
Where most projects go wrong
The usual mistakes:
- Caching API responses indefinitely with no update strategy
- Registering a service worker nobody on the team knows how to update
- Asking visitors to install on their first visit
- Assuming offline support comes automatically with a manifest
What good looks like instead
- Cache the app shell and critical assets when the service worker installs
- Version caches and delete old ones on update
- Show an offline page instead of a browser error
- Test updates so nobody is stuck on an old version
- Include maskable icons in the manifest
Why it matters
A progressive web app reaches people through the browser without an app store, and the same caching that allows offline use makes repeat visits faster for everyone.
The specs that matter
| Measure | Figure |
|---|---|
| Web app manifest | a JSON file giving the app name, icons, start URL and display mode |
| Service worker | a script that intercepts network requests and can answer from a cache |
| HTTPS | required for service workers, except on localhost |
| Common manifest icon sizes | 192 and 512 pixels square |
| Installing on iPhone | through Add to Home Screen in Safari's share menu |
Knowing when to hand it over
Tip: Bring in help when visitors see stale content after releases, when a service worker needs to be removed safely, or when offline use is a core requirement.
Where this comes from
- web.dev — Learn PWA
- MDN Web Docs — Progressive web apps
- MDN Web Docs — Service Worker API
The figures and practices above come from the sources listed.
Working on something like this?
We take on Web Design & Development work for teams who want it done once, properly. Tell us what you are building and we will tell you honestly whether we are the right studio for it. Start a project.
Where to go next
Spotted something wrong? Report an error on this page. We correct on the page and say what changed.