Skip to content
Web Design & Development

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.

MediaScaleUp Editorial Team 2 min read 13 views
A Practical Guide to Progressive Web Apps

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
What to do and what to avoid with progressive web apps, side by side
Good practice against the usual mistakes, from the sources listed below.

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

Published figures for Progressive Web Apps
MeasureFigure
Web app manifesta JSON file giving the app name, icons, start URL and display mode
Service workera script that intercepts network requests and can answer from a cache
HTTPSrequired for service workers, except on localhost
Common manifest icon sizes192 and 512 pixels square
Installing on iPhonethrough 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

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.

All services

The work behind this article, and what it costs.

MediaScaleUp Editorial Team

Articles here are researched, written and checked by the MediaScaleUp studio team before they are published, and dated when they are reviewed.

Keep reading

More in Web Design & Development