Progressive Web Apps Explained: What They Are and How They Work
A progressive web app is a website that behaves like an installed app: it works offline, sends notifications and loads from a home-screen icon.
On this page
Short answer
A progressive web app (PWA) is a website built with modern web technology that can be installed on a phone or desktop, work offline and send push notifications. It runs in the browser, needs no app store download, and updates automatically every time the user opens it.
What is a progressive web app?
A progressive web app is a website that uses modern browser features to behave like an installed app. It can be added to a home screen, open full screen, work when the connection drops, and send notifications, all without going through an app store.
The word progressive matters. A PWA starts as an ordinary website that works in any browser, then adds app-like features where the browser supports them. A user on an old browser still gets the website; a user on a modern phone gets the full app experience. Nothing breaks for anyone.
Three pieces make a website a PWA. A web app manifest describes the name, icon and colours used when the app is installed. A service worker, a script that runs in the background, handles offline use and notifications. And the site must be served over a secure connection, so the browser can trust it.
PWAs suit content, commerce and tools that people open often but do not want to install from a store. News sites, shops, booking tools and internal dashboards are common examples. They are a poor fit for apps that need deep access to phone hardware.
PWA vs native app vs website: how do they compare?
The choice between a PWA, a native app and an ordinary website comes down to reach, capability and cost. A PWA sits in the middle: wider reach than a native app, more capability than a plain website.
| Feature | PWA | Native app | Website |
|---|---|---|---|
| Install | From the browser, no store | App store download | No install |
| Works offline | Yes, with a service worker | Yes | Usually no |
| Push notifications | Yes, on most platforms | Yes | No |
| Hardware access | Limited | Full | Limited |
| Development cost | One codebase | One per platform | One codebase |
| Discovery | Search engines | App store search | Search engines |
Use this table when the team argues about which route to take. If the product needs a camera, Bluetooth or background location, native wins. If it needs reach and fast updates, a PWA is hard to beat.
How does a PWA work offline?
A PWA works offline because of its service worker, a script the browser runs in the background even when the site is closed. On the first visit, the service worker downloads the files the app needs and stores them in a local cache. Later visits load from that cache instead of the network.
The cache strategy decides what happens when the connection drops. A common approach is to serve the app shell, the layout and navigation, from the cache, and to fetch fresh content when the network is available. If the network is down, the app shows the last saved content and a clear message that it is offline.
Offline data entry is handled the same way. A form filled in offline is stored locally and sent when the connection returns, a pattern called background sync. This is useful for field teams, delivery drivers and anyone who works where the signal is patchy.
None of this is magic, and it needs testing. A service worker that caches too aggressively can serve stale content, while one that caches too little leaves the app useless offline. Test with the network off, not just with a slow connection.
What can a PWA do that a website cannot?
A PWA can do three things an ordinary website cannot: it can be installed, it can send push notifications, and it can work offline. Those three features are what make it feel like an app rather than a page.
Installation is the most visible difference. A visitor can add the PWA to their home screen or desktop, and it opens full screen with its own icon, just like a native app. There is no app store review, no download size warning and no account needed to install it.
Push notifications let the PWA bring users back, the same way a native app does. A shop can alert a customer that an order shipped; a news site can send a breaking story. The user must agree to notifications first, and they can turn them off at any time, so the content has to earn the interruption.
The limits are real. On some platforms, notification support and background behaviour are weaker than on native apps, and access to hardware such as Bluetooth, NFC and advanced camera features is restricted. Check the target platform before promising a feature.
When is a PWA the right choice?
A PWA is the right choice when reach matters more than deep hardware access, and when the product changes often. A shop that updates prices daily, a publisher that posts hourly, or a tool that ships weekly all benefit from a PWA, because every user gets the new version on the next visit, with no update to install.
PWAs also suit audiences that will not install an app. Many users will try a website once and never download an app for a single purchase or a one-off booking. A PWA meets them where they are: a link, a tap, and the app is on their home screen if they want it.
Cost is the other driver. One codebase serves every platform, which keeps the team small and the release cycle fast. For a startup or a small team, that difference can decide whether the product ships at all.
For teams weighing the options, native vs progressive web apps compares the two routes in more detail, including the cases where native still wins.
When should you build a native app instead?
You should build a native app instead of a PWA when the product depends on hardware or platform features the browser cannot reach. Games with heavy graphics, apps that need Bluetooth or NFC, and apps that track location in the background all need native access.
App store presence can also matter. Some audiences trust and find apps through the store, and some businesses need the store's payment and subscription systems. A PWA cannot be listed in the same way, so if discovery depends on the store, native is the safer route.
Performance is a third reason. A PWA runs in the browser, which adds overhead. For most content and commerce apps that overhead is invisible, but for video editing, 3D rendering or real-time audio, the difference shows.
The honest test is to list the features the product needs and check each against what the browser allows. If every feature works in a PWA, build a PWA. If one essential feature does not, that one feature decides the answer.
Shops are a common borderline case: progressive web apps for ecommerce explains where PWAs shine for stores and where native checkout still matters.
How do you build a PWA?
Building a PWA means taking a working website and adding the three pieces that make it installable, offline-capable and able to send notifications. The work is incremental, which is why many teams convert an existing site rather than starting over.
- Serve over HTTPS. Service workers only run on secure connections, so move the site to HTTPS first.
- Add a web app manifest. Write the file that gives the app its name, icons, colours and start page.
- Add a service worker. Cache the app shell and key pages, and decide what happens when the network is down.
- Make it installable. Test the install prompt on phones and desktops, and design an install button that appears at the right moment.
- Add notifications. Ask permission after the user has seen value, and send only messages worth the interruption.
- Test offline. Turn the network off, reload, and check that the app still opens and shows saved content.
Most modern web frameworks have PWA support built in, and the audit tools in browsers will score the result and list what is missing. Fix the audit failures before launch, because they map directly to what users will notice.
If the site is large, convert it in stages: manifest first, then caching, then notifications. Each stage is useful on its own, so the work pays off even if the project pauses.
Example (hypothetical): a retailer adds a PWA
Example (hypothetical): a small retailer gets 20,000 website visits a month, and 12,000 of those visits come from phones. The team converts the site into a PWA, adding a manifest, a service worker and an install prompt.
In the first month, 5% of phone visitors add the app to their home screen. That is 600 installs from 12,000 phone visits. Those 600 users open the app 3 times a month on average, producing 1,800 sessions, while before the PWA the same users visited about once a month, or 600 sessions.
Orders follow the same pattern. The installed users place 120 orders in the month, against 40 orders from the same group the month before. The arithmetic is simple: more visits from the same people, because the app is one tap away instead of a search away.
The team also notices that the PWA loads faster on slow connections, because the service worker serves the layout from the cache. That matters for shoppers on mobile data, who used to abandon the site when it loaded slowly.
What are the common mistakes?
The most common PWA mistakes are caching too much, asking for notification permission too early, and treating the PWA as a native app with the same hardware expectations.
- Caching everything. Cache the app shell and key pages, not every image and API response, or users see stale content.
- Asking for notifications on first visit. Wait until the user has seen value, or most will refuse and never be asked again.
- No offline message. When the network drops, say so clearly instead of showing a blank page or a spinner.
- Assuming iOS behaves like Android. PWA support differs by platform, so test on both before launch.
- Skipping the manifest. Without it, the app cannot be installed properly and looks like a bookmark.
If you are planning the build, web app development covers the wider process, from scoping to launch.
For the native route, mobile app development covers how native apps compare.
Key takeaways
- A PWA is a website with a manifest, a service worker and HTTPS, so it can install and work offline
- It updates automatically: every visit loads the latest version, with no store update
- PWAs suit content, commerce and tools; native apps suit hardware-heavy products
- A service worker caches the app shell, so the app opens even with no connection
- Ask for notification permission only after the user has seen value
Frequently asked questions
What is a progressive web app?
A progressive web app is a website that uses modern browser features to behave like an installed app. It can be added to a home screen, open full screen, work offline and send push notifications, all without an app store download.
Do PWAs work on iPhone?
Yes, but with limits. iPhones support installing PWAs and offline use, though notification support and some background features have historically been weaker than on Android. Always test on both platforms before promising a feature.
Is a PWA cheaper than a native app?
Usually yes, because one codebase serves every platform instead of one app per platform. That keeps the team smaller and the release cycle faster. The saving disappears if the product needs hardware features the browser cannot reach.
Can a PWA be listed in an app store?
Some stores accept PWAs packaged as store apps, but a PWA is normally discovered through search and links rather than the store. If your audience finds apps mainly through the store, that matters for your launch plan.
Does a PWA work offline?
Yes, for the parts its service worker has cached. The app shell and saved pages load without a connection, and forms filled in offline can be sent when the connection returns. Content that was never cached still needs the network.
When should I choose native instead of a PWA?
Choose native when the product needs hardware access the browser cannot give, such as Bluetooth, NFC or background location, or when it needs heavy graphics performance. For most content and commerce apps, a PWA is enough.