Adding a Service Worker
Welcome to our first big step into the world of Progressive Web Applications. This chapter will be devoted to creating our first service worker which, in turn, will unlock much of the functionality that makes PWAs so special.
We’ve talked previously about PWAs bridging web apps and native applications. The way they do this is through service workers. Service workers make things such as push notifications and offline access possible. They're an exciting new technology with many applications (more and more emerging each year); if one piece of tech will transform web development in the next five years, it's service workers.
However, enough hype; let's dive in to what exactly a service worker is.
In this chapter, we'll ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access