gatsbyjs adding offline support to your site



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


It is really simple. Just two steps.

npm install --save gatsby-plugin-offline


Add this to your gatsby-config.js

plugins: [`gatsby-plugin-offline`]


Restart your app and browse to a page. You will be able to see that we can still hit our site.



Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm