جزییات کتاب
Key FeaturesGet straight into the action with step-by-step recipes that show you how to put Service Workers to workFind out what Service Workers can do for your app, then do it!Get the first in-depth look at this important new feature for web developersBook DescriptionIt would be nice to have web apps that work offline and send push notifications. This is now possible with Service Workers, which can add native-like functionality to your web apps without requiring a download.This book will get your mobile and web apps functioning without Internet connectivity, improve performance and network interaction in order to increase the level of availability, and show you how to build performant applications that seamlessly integrate with third-party APIs.We'll show you how to add Service Worker functionality to web apps and sites, access offline content through basic and advanced techniques, and build powerful interactive system notifications. We'll also teach you about cache functionality and assets to provide immediate load even over narrow connections. We conclude by giving you various tips to improve app performance, including the background sync technique.By the end of this book, you'll know build high performing and faster web and mobile applications with Service Workers.What you will learnDisplay a custom offline pageCache critical resources for offline useImplement offline Google AnalyticsGet network responses offlineImplement push notificationsImprove performance of your appAbout the AuthorSean Amarasinghe is a software developer from Melbourne, Australia. He is a developer, designer, photographer, and also a blogger. He blogs about development, design, technology, and photography. He is passionate about offline apps and what they bring to the user. He has firsthand experience of how well offline apps work. He has written a couple of blog posts about offline cache manifests, as well as service workers.Table of ContentsLearning Service Worker BasicsWorking with Resource FilesAccessing Offline ContentAccessing Offline Content with Advanced TechniquesReaching Beyond the Offline CacheWorking with Advanced LibrariesFetching ResourcesExperimenting with Web PushLooking at General UsageImproving Performance