Become a member
to unlock all features

    Cache JSON Data in a React PWA with Workbox, and Display it while Offline


    We can view the PWA offline because we are caching the static and CDN assets for the app - but the list of todo items won't display, because those API calls are not being cached. We'll add another route to the service worker, to store the result of any .json API call from our server. Then, we'll be able to view the app with the entire list of items offline.