Skip to content
IT glossary
FrontendUpdated December 3, 2026

PWA

A Progressive Web App (PWA) is a web app you can visit by URL and, on supported browsers, install and launch from its own icon. It can also be built to keep selected features working offline.

Also known as: Progressive Web App

What makes a web app a PWA?

A PWA is still a website: users can follow a link and use it in a browser tab. On a platform that supports installation, they can also launch it from a home screen or app launcher. It can open in its own window rather than with the usual browser controls. The key idea is progressive enhancement: users get the regular web experience even if their browser doesn't offer installation or a particular device feature.

The pieces and their jobs

The web app manifest is a JSON file linked from the HTML. It tells the browser what name and icons to use, where to start the app (start_url), and how it would prefer to be displayed (display). Browsers differ in when and how they offer installation, so adding a manifest doesn't guarantee an install prompt.

A service worker is a script the browser runs separately from the page. It can handle requests from pages it controls, fetch a response from the network, or serve one from Cache Storage. Registration requires a secure context: typically HTTPS in production, with localhost available for development. A service worker is event-driven, not a process you can count on to run continuously.

Example: a checklist with patchy reception

Imagine a technician opening a maintenance checklist before heading into a basement. The app saves the files needed to render the interface and stores the downloaded checklist. Without reception, it can reopen the saved checklist and keep edits locally, for example in IndexedDB. The UI should mark those edits as pending until the server acknowledges them. One option is to retry when the app is open and connectivity returns; background sync isn't available everywhere.

What installation doesn't promise

Installation doesn't make an app offline-capable. If only the interface files are cached, the app may open offline while every screen that needs fresh API data fails. Plan for missing or stale data, including the case where the browser has cleared stored content. Push notifications are optional and subject to platform support and permission. And a PWA doesn't have to be a single-page application: client-side navigation and installability are separate design choices.

What interviewers look for

Be ready to explain what you would cache and which information must come from the server. For versioned JavaScript and CSS, cache-first avoids fetching the same unchanged files on every visit. For a frequently updated checklist, network-first can prefer fresh data and fall back to the last saved copy, with a visible timestamp. Test both a first visit and a repeat visit with the network disabled; only the repeat visit can rely on resources the app previously saved.