How to make a NextJS web app fully offline capable? #15425
Unanswered
mmalfertheiner
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
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:
The service worker should precache all pages (HTML) upfront, so that the application is immediately fully offline capable:
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?
Beta Was this translation helpful? Give feedback.
All reactions