It's time to stop treating loss of connectivity as an error state in your web apps. Whether your users are boarding a flight, landing in a country with no local data plan, hiking, or commuting in the metro, offline and poor connectivity are inevitable states in your apps—states you need to plan for. As you develop for an increasingly mobile world, you need to stop treating connectivity loss as an error state in web apps and start thinking offline-first.
In this excerpt from Building Progressive Web Apps, author Tal Ater shows you how to plan and implement an effective offline-first strategy. By exploring code examples for a fictitious hotel web page, you'll learn how to work through several common caching problems. This ebook also includes examples of real-world offline-first approaches at Twitter and The Washington Post.
- Learn some of the more common design patterns used for caching
- Mix and match patterns to create new methods for caching and serving content
- Weigh several options when choosing a caching strategy for your web app
- Learn methods for implementing the caching strategy you choose
- Explore different approaches for caching and serving a dynamic web app
- Understand how an offline-first approach dramatically improves the experience for connected users
Table of contents
- Title: Embracing Offline First
- Release date: May 2018
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781492027249
You might also like
CSS in Depth
Summary CSS in Depth exposes you to a world of CSS techniques that range from clever …
Head First Design Patterns, 2nd Edition
You know you don’t want to reinvent the wheel, so you look to design patterns—the lessons …
Fundamentals of Software Architecture
Salary surveys worldwide regularly place software architect in the top 10 best jobs, yet no real …
Semantic Software Design
With this practical book, architects, CTOs, and CIOs will learn a set of patterns for the …