web apps which look and feel like native apps ◼ Reliable: Provides offline support through caching ◼ Fast: quickly respond to user requests ◼ Engaging: send feed like native apps on mobile devices.
which runs in the browser ◼ Ability for offline loading through caching ◼ Push notifications through web apps ◼ Acts as proxy server Web server Service worker Send request
the browser. ◼ Data can be retrieved from cache instead of sending network request. ◼ App Shell needs to be loaded from this cache. ◼ App Shell includes basic files of the app eg: images,css files, js files, layout files etc.
sent by the webserver. ◼ Click event on notifications are handled by service worker because it runs in the background. (sw.js). ◼ Each browser + device combination results in a subscription. ◼ Subscription contains the end point of browser + device combination where we send push notifications