GatsbyJS: Adding Offline Support


Adding Offline Support

To make the site more resilient to network connectivity issue, gatsby js provides an awesome plugin that cache pix and js of the site.

It is just two simple steps:

$ npm install --save gatsby-plugin-offline

Add this to the gatsby-config.js:

plugins: [`gatsby-plugin-offline`]

Source: gatsbyjs adding offline support to your site