Part 4. Resilient web applications

 

When I’m trying to access information on the go on my mobile phone, nothing is more frustrating than not being able to get to that information I need so desperately, especially when I know that I’ve viewed a certain web page before. Fortunately, you can build Progressive Web Apps (PWAs) to deal with such situations. In this part of the book, you’ll learn how to build web apps that can work offline and deal with situations where you may be in an area with poor or no network coverage at all.

In chapter 7, you’ll learn how to use the power of Service Workers to build resilient web apps that work with no connection. This chapter also covers some of the gotchas you should look out for when building an offline web app. By the end of the chapter, we will have a fully working example of an offline PWA using the sample application Progressive Times.

Chapter 8 shows you how to build PWAs that cater to situations where the user has a network connection, but it’s slow, flaky, or prone to drop occasionally. Dealing with temperamental network connections can be tricky, but in this chapter, you’ll learn the best techniques to build resilient web apps that work with poor or unreliable network connections.