Service workers are used to cache data responses. So far, you have seen how to create a new Angular application, configure the application to be installable, and cache the application so that it is accessible even when offline. This chapter introduces how to cache a data response from an HTTP service.
This chapter begins by creating a new component to retrieve and show data from an HTTP service. Next, it discusses how to create an interface that acts as a contract between ...