Setup PWA Workbox Webpack Plugin for React Application | Workbox Window | Precaching | Caching at runtime

Posted on

In this blog we will learn how to convert a React App into a PWA using Workbox WebpackPlugin, workbox-window etc. We will do pre-caching of a few assets and few api response at runtime, using strategies like StaleWhileRevalidate and Cache Firstetc. Demo site Source Code Install workbox webpack plugin Install these packages. Webpack Configuration Add these configuration to

Read More