we would like to build a fully offline capable react web application. We usually work with NextJS.
The current problem that we are facing is that we are not able to precache all routes of the application, even though they are not making use of SSR.
For example:
pages
- index.js
- projects
- index.js
- [id.js]
The service worker should precache all pages (HTML) upfront, so that the application is immediately fully offline capable:
- /
- /projects
- /projects/123
- /projects/???
We tried to use next-offline and next-pwa, but we were only able to precache the static assets.
Has anybody had a similar requirement and found a solution?
