Book a free call

What Is a Progressive Web App, and When Should You Build One?

A progressive web app is a website that installs, works offline and sends notifications. See how it compares with native apps and what it cannot do.

Hertiv engineering teamReviewed by a senior engineer
6 min read
What Is a Progressive Web App, and When Should You Build One?
On this page

Short answer

A progressive web app is a website built with HTML, CSS and JavaScript that can be installed on the home screen, work offline and send notifications, without going through an app store. It costs less than two native apps but cannot use every device feature a native app can.

What is a progressive web app?

A progressive web app, or PWA, is a website that behaves like an app. It opens in the browser, can be installed on the home screen, works offline and can send notifications, all without going through an app store. It is built with web technology: HTML, CSS and JavaScript, plus a service worker that manages caching and background tasks.

The word progressive means the app works for every user, whatever their browser or device. On an old browser it is simply a fast website. On a modern phone it can be installed, open full-screen and keep working when the connection drops. No feature is required for the basic version to work.

A PWA is not a native app and not a plain website. It sits between the two: cheaper to build than two native apps, and more capable than a website that needs a connection. For many small teams, that middle ground is the whole point.

How does a PWA differ from a native app and a website?

A native app is installed from an app store and runs with full access to the device. A website opens in the browser and needs a connection. A PWA opens in the browser too, but it can be installed, cache its content and work offline, which is what makes it feel like an app.

FeatureWebsiteProgressive web appNative app
InstallNo installAdd to home screenApp store download
Works offlineNoYes, cached contentYes
NotificationsLimitedYes, on most platformsYes
Device accessBasicCamera, location, filesFull access
Build costLowOne codebaseTwo codebases or more
UpdatesInstantInstant, in the backgroundStore review and download

The table shows the trade. A PWA gives up some device access and some platform features in exchange for one codebase and instant updates. A native app gives the full device, at the cost of building and maintaining two apps. If you want the cost picture, see the progressive web app development cost guide.

What can a PWA do that a website cannot?

A PWA can work offline, send push notifications and be installed on the home screen. The service worker is the part that makes this possible. It sits between the app and the network, stores copies of pages and data, and serves them when the connection is gone. A returning user can open the app on a train and still read the content they loaded before.

Push notifications let the app re-engage users without email. A shop can tell a customer an order shipped, and a news site can flag a breaking story. The user must agree to notifications first, and they can turn them off at any time, so the feature only works when the app earns it.

Installation is the third difference. A PWA can be added to the home screen from the browser, with an icon and a splash screen, and it opens full-screen like a native app. There is no store review, no download of tens of megabytes and no update prompt. The next visit simply loads the newest version.

What are the limits of a PWA?

The limits of a PWA are device access and platform support. A PWA cannot use every sensor and system feature a native app can. Advanced camera controls, background Bluetooth, NFC and some payment features are limited or missing, and the exact gaps differ between iOS and Android. An app that needs deep hardware access is a poor fit.

Push notifications on iOS arrived late and still have limits, such as the user needing to install the app first. App store discovery is another gap: a PWA is found through search and links, not through browsing a store, so a team must drive traffic itself. That suits a business with an existing audience and is a weaker fit for a new consumer app that needs store discovery.

Performance is a smaller limit than it used to be. Modern phones run web apps fast enough for most content, shopping and booking flows. Heavy games, video editing and real-time audio still belong in native apps. Compare the options in the native versus progressive web apps guide before deciding.

How do you build a progressive web app?

You build a progressive web app by starting from a fast, responsive website and adding three parts: a web app manifest, a service worker and HTTPS. The manifest is a small file that names the app, sets its icon and colours, and tells the browser how it should open. The service worker handles caching, offline pages and notifications.

  1. Build a fast, responsive site. The app must work well on a phone screen and load quickly on a slow connection.
  2. Add the manifest. Set the name, icons, theme colour and display mode so the installed app looks right.
  3. Add a service worker. Cache the shell and key pages, and decide what the app shows offline.
  4. Serve everything over HTTPS. Service workers only run on secure origins, so a certificate is required.
  5. Test install and offline. Check the install prompt, the offline page and the update flow on real phones.
  6. Ask for notifications carefully. Request permission after the user has seen value, not on the first visit.

Most teams build the PWA with the same tools they use for the website, such as React or Vue, and add the manifest and service worker as a layer on top. A team that already has a good website is often a few weeks from a working PWA, which is why many start there. The work is usually part of a web app development project rather than a separate app build.

Example (hypothetical): a local retailer goes offline-first

Example (hypothetical): a retailer with 12 stores and a website wants customers to browse the catalogue in-store, where the Wi-Fi is weak. The team turns the site into a PWA. The service worker caches the catalogue, prices and store hours, so the pages open even when the connection drops. Customers add the app to the home screen from a QR code at the till.

The numbers are simple. Before the PWA, 4 in 10 in-store visitors gave up on the site because pages timed out. After the launch, the team measures 1,000 in-store visits in a week: 800 open the catalogue and 320 of those add an item to a list. The store also sends a push message on Friday about the weekend offer, and 90 of the 600 subscribers open it.

The retailer keeps its native app plan on hold. The PWA covers the in-store need at a fraction of the cost, and the team can revisit a native app later if it needs features the web cannot offer.

Common mistakes when building a PWA

The most common mistake is treating the PWA as a native app. Teams promise features the web cannot deliver, such as deep hardware access, and then spend months working around the gap. Check the platform limits first, and build only what the web supports well.

Other mistakes are common. Teams cache too much, so the app shows stale prices. Teams ask for notification permission on the first visit, before the user has seen any value, and most say no. Teams skip the offline test, so the app fails exactly where it should shine. Teams forget that iOS and Android behave differently, and test on one phone only.

Avoid these by testing on real phones, on both platforms, with the connection off. Cache the shell and the content that changes slowly, fetch prices fresh, and ask for notifications only after the user has done something useful. A PWA that works offline and loads fast will beat a prettier one that does not.

Key takeaways

  • A PWA is a website plus a manifest and a service worker, installable from the browser.
  • It works offline, sends notifications and updates instantly, with one codebase.
  • It cannot match native apps on deep device access or app store discovery.
  • Build it from a fast responsive site: manifest, service worker and HTTPS.
  • Test install and offline behaviour on real phones on both iOS and Android.

Frequently asked questions

Is a progressive web app the same as a mobile app?

No. A mobile app usually means a native app from an app store. A progressive web app runs in the browser, can be installed from it, and shares one codebase with the website. It feels like an app but is built with web technology.

Do I need an app store to publish a PWA?

No. A PWA is published by putting it on the web with HTTPS. Users install it from the browser. Some teams also list their PWA in app stores, but that step is optional and needs extra packaging.

Can a PWA work without internet?

Yes, for cached content. The service worker stores pages and data on the device, so the app opens and shows what it saved. New data, such as fresh prices or a checkout, still needs a connection.

Are PWAs slower than native apps?

For content, shopping and booking flows, the difference is small on modern phones. Heavy work such as games, video editing and real-time audio still runs better in a native app. Test your own flows on real devices.

How much does a PWA cost to build?

It usually costs less than building native apps for iOS and Android, because there is one codebase and no store review cycle. The exact cost depends on the features, so check the cost guide or ask for a quote.

Can a PWA send push notifications on iPhone?

Yes, on recent iOS versions, but only after the user installs the app and agrees to notifications. The behaviour differs from Android, so test the flow on an iPhone before relying on it.

Found this useful? Share it.
Hertiv engineering team

Written from projects we build for clients: software products in production. Every post is reviewed by a senior engineer before publishing and updated when practice changes.

About HertivHow we work

Thinking about a PWA instead of two native apps? Talk to Hertiv.

A senior engineer replies within one business day. Or see our Web App Development service.

Book a free call

Keep reading

All posts

Tell us what you want to build

A senior engineer reads every request and replies within one business day with questions, a rough range, or a call link.

  • NDA on request before any details
  • You own all code, models and IP
  • US, UK and EU time-zone overlap

Your email app should open with your message ready to send. If it does not, write to [email protected].

Prefer email? Write to [email protected]
Estimate costBook a call