We recommend using https://github.com/vercel/next.js/tree/canary/examples/next-offline