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.
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 Mobilexweb.com, keeps compatibility tables updated at Mobilehtml5.org, 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.
©2016, O'Reilly Media, Inc. • (800) 889-8969 or (707) 827-7019 • Monday-Friday 7:30am-5pm PT • All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners. • email@example.com