holyjs HolyJS 2018 Msc (24.11.2018)

Service Worker: Using gathered experience and looking into the future

img

Service Worker API allows us to implement a whole layer of application logic and has lots of nuances in its behaviour, which we’ll cover in this session.

Service Worker API is a progressive web application concept base in charge of offline working, network request optimization, push notifications and many other useful things. Technically defined as a programmable network proxy, Service Worker allows us to implement a whole layer of application logic and has lots of nuances in its behaviour, which we’ll cover in this session.

Using the community’s experience of developing and using Service Worker in real projects, we’ll discuss:

  • best practices with code examples for the whole Service Worker lifecycle, from registration to emergency deletion;

  • possible issues and special cases in working with HTTP requests from Service Worker;

  • recent news about different browsers supporting separate parts of the specification;

  • tools recommended for automation of some network tasks;

  • additions planned for Service Worker API: new interesting options.