PWA
In one line
A PWA (Progressive Web App) is a web app that uses modern APIs to provide a native-app-like experience, including offline support and installability.
In simple words
A Progressive Web App (PWA) is a web application that uses modern web technologies to deliver an experience similar to a native app. PWAs can be installed on the device home screen, work offline, send push notifications, and access device features — all from web technologies.
A web app qualifies as a PWA when it has: a web app manifest (JSON file with app metadata like name, icons, colors), a registered service worker (for offline support and background features), and is served over HTTPS. The browser then offers to "install" the app.
PWAs bridge the gap between web and native apps. They are built with HTML, CSS, and JavaScript, but can do things previously only native apps could do. Major companies use PWAs to provide fast, reliable experiences on low-end devices and poor network conditions.
Example
<link rel="manifest" href="manifest.json">
<script>
if ("serviceWorker" in navigator) {
navigator.serviceWorker.register("/sw.js");
}
</script>Linking a web app manifest and registering a service worker — the two requirements for a PWA.
Related terms
Related Resources
Related Lessons
- PWA Basics
Learn PWA basics.
Decode error messages
Plain-English explanations of common errors — what they mean, why they happen, and how to fix them.