Progressive Web App (PWA)

Introduction

  • It aims to enhance the web application just like native mobile app, containing push notification, offline usage,...

  • Service Worker is written by javascript, which can run the application on background

Manifest.json

  • The Web App Manifest is a JSON file that tells the browser how your PWA should behave when installed on a device. It's like a configuration file for your app's identity and appearance.

Service Worker

  • A Service Worker is a JavaScript file that runs separately from your web page in the background. It acts as a proxy between your web app, the browser, and the network.

  • Regular websites require an internet connection - no network = blank page. Service workers intercept network requests and can serve cached content when offline to bring a "app-like" features

Last updated

Was this helpful?