Service Workers: Transforming your Web Application into a Progressive Web Application

  • 0
  • May 31, 2018

What if we could build a web application which auto-magically works across various devices and platforms? Thanks to Progressive Web Applications (PWAs), this dream has now come true. PWAs use modern web capabilities to provide a user experience similar to that of mobile applications.

PWAs make use of Web App Manifest files and Service Workers, to make the magic happen.
A Service Worker is a standalone JavaScript program that can handle background/network tasks for your web application. Service Workers enable us to have total control over the outgoing and incoming network requests as well as the browser cache. Many browsers have now added support to run Service Workers.

I have some great news for all of you. Angular 5+ has added built-in support for Service Workers into the framework. In this talk, we will dive into exploring the transformation of a simple Angular application into a Progressive Web Application using Service Workers.