Progressive Web Apps are experiences that combine the best of the web and the best of apps. They are useful to users from the very first visit in a browser tab, no install required. As the user progressively builds a relationship with the app over time, it becomes more and more powerful. It loads quickly, even on flaky networks, sends relevant push notifications, has an icon on the home screen, and loads as a top-level,full screen experience.
A service worker is a script that your browser runs in the background, separate from a web page, opening the door to features that don't need a web page or user interaction. Today, they already include features like push notifications and background sync. In the future, service workers will support other things like periodic sync or geofencing.
The reason this is such an exciting API is that it allows you to support offline experiences, giving developers complete control over the experience.
This boilerplate provide a minimum valuable configuration with the offline-plugin
that just works™, but we will be introducing additional libraries for E3 to build our own service workers listed below:
push notifications
.Thi represents the next frontier in performant web apps: availability without a network connection from the instant your users load the app. This is done with a ServiceWorker and a fallback to AppCache, so this feature even works on older browsers!
All your files are included automatically. No manual intervention needed thanks to Webpack's
offline-plugin