You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even tried with gatsby-default-starter, enabled gatsby-plugin-offline on https site, and still, the site is not served when offline! https://thetechchannels.com/bc/
The issue you've reported was actually fixed in #17408 - however, there seems to be an issue on our side that the default starter is still using v2 of the offline plugin, rather than v3 which has been released with this fix.
For now just run yarn upgrade --latest or yarn install gatsby-plugin-offline@latest inside your repository, which should fix the issue.
vtenfys
changed the title
Gatsby plugin offline not serving sites when offline
Default starter not upgrading to latest Gatsby packages
Sep 13, 2019
I disconnected my internet, refreshed https://www.gatsbyjs.org and got site cannot be reached!
Even tried with
gatsby-default-starter
, enabledgatsby-plugin-offline
on https site, and still, the site is not served when offline! https://thetechchannels.com/bc/I was expecting 100% offline support, something like: https://deanhume.com/create-a-really-really-simple-offline-page-using-service-workers/, but maybe I'm not getting the idea behind
gatsby-plugin-offline
.Summary
gatsby-plugin-offline
does not serve sites when offline.File contents (if changed)
gatsby-config.js
:package.json
: N/Agatsby-node.js
: N/Agatsby-browser.js
: N/Agatsby-ssr.js
: N/AThe text was updated successfully, but these errors were encountered: