September 19–20, 2016: Training
September 20–22, 2016: Tutorials & Conference
New York, NY

Service workers and push notifications for web performance

Max Firtman (ITMaster Professional Training)
9:00am–12:30pm Tuesday, 09/20/2016
Performance for the people Mobile, Networking Gramercy Audience level: Intermediate
Average rating: ****.
(4.67, 3 ratings)

Prerequisite knowledge

  • Experience with JavaScript and HTML
  • Materials or downloads needed in advance

    • A laptop with the latest version of Google Chrome installed
    • A web server (Apache-, IIS-, NGNIX-, or Node.js-based server)
    • A text editor
    • Node.js (optional)

    What you'll learn

  • Understand service workers and related technologies that help a website's performance by improving the experience
  • Description

    Several APIs are available on modern browsers to help performance, including the Service Worker API, Push Notifications API, NetInfo API, Cache Storage API, and the older Application Cache API. Leading hands-on exercises, Maximiliano Firtman demonstrates how to use these APIs to improve performance and perception on a website. Max covers practical examples of how to make an application for the Web using the latest specs that will not only create an experience for offline usage but also improve perception and performance while the user is online, mostly on mobile cellular networks.

    Max discusses using service workers with desktop and mobile web apps and explains how to detect connection and how to create a successful experience. Max then walks attendees through a lab on using the Service Worker and Cache Storage APIs to store requests and responses locally, API events to catch requests, and cache-first or network-first approaches to improve performance and experience using ECMAScript 6 Promises, with a fallback to the application cache for iOS and Windows. Max also explores how to use push notifications for the Web using Safari and Chrome (both desktop and Android), the recent Background Sync API, and future abilities, such as silent push notifications.

    Photo of Max Firtman

    Max Firtman

    ITMaster Professional Training

    Max Firtman is a mobile and web developer, trainer, speaker, and writer. Max teaches mobile HTML5 and performance trainings for top companies around the world. The founder of IT-training company ITMaster, Max is a well-known professional in the mobile web community. He blogs about mobile web platforms on, keeps compatibility tables updated at, and has written many books, including Programming the Mobile Web (available in a second edition) and the recent High Performance Mobile Web, published by O’Reilly Media. He is a frequent speaker at conferences, including QCon, Mobilism, OSCON, Velocity, Fluent, Google Developer Day, JSConf, GOTO, AdobeCamp, and many other events around the world. Max has been widely recognized for his work in the mobile web community. He is an Adobe Community Professional, Microsoft IE User Agent, Nokia Developer Champion, and BlackBerry Elite, among other distinctions.