Summary
This has been a very long chapter with some advanced concepts being covered. You learned how to trigger different caching strategies based on the request URL, modularizing the service worker logic, and employing cache invalidation strategies. Plus, you got to play with a new progressive web app!
There was a lot of valuable information and source code covered in this chapter, but these examples should only serve as a base reference for your applications. Not only should you be a good steward of the storage your application is allocated, but you should be mindful of your users' data plans.
In the next chapter, we'll continue to review how to use service workers and caching to make applications perform better. You will also see how to ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access