7. What is Service Worker?
A script that is run by your browser in the background, separate from a web page,
opening the door to features which don't need a web page or user interaction.
8. ● Javascript Workers - Hence cannot access DOM. Service Worker communicate and Control the pages via
postMessage
● Service worker is a programmable network proxy, allowing you to control how network requests from your
page are handled.
● Services workers will be terminated when not in use and restarted when needed again.
● Services workers make extensive use of the Promises
9. What we need?
● Web Page
● HTTPs
● Service worker
● Browser which support Service worker
● Static Assets