gatsby-source-notion-api icon indicating copy to clipboard operation
gatsby-source-notion-api copied to clipboard

Build Caching

Open LandonSchropp opened this issue 2 years ago • 3 comments

I've noticed when building a moderately small site that the initial sourcing can take quite a while. Would it be possible to leverage Gatsby's caching mechanism to use the local cache for nodes whose updated at time has not changed since the last fetch?

Thanks for creating such a great plugin!

LandonSchropp avatar Jan 03 '22 19:01 LandonSchropp

That's a good point. I'll dig into this

orlowdev avatar Jan 11 '22 07:01 orlowdev

Thanks!

LandonSchropp avatar Jan 11 '22 17:01 LandonSchropp

It looks like there's a nice guide to this on the Gatsby website. Their approach seems simple enough, so I'm going to go ahead and add it.

LandonSchropp avatar Apr 19 '22 04:04 LandonSchropp