# Updates in Contentful are not reflected in Gatsby

**URL:** <https://answers.netlify.com/t/updates-in-contentful-are-not-reflected-in-gatsby/24677>\
**Category:** Support\
**Tags:** deployment, building, gatsby\
**Created:** [October 19, 2020, 9:02am UTC](https://answers.netlify.com/t/updates-in-contentful-are-not-reflected-in-gatsby/24677 "2020-10-19T09:02:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcMagdi](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/marcmagdi/32/17212_2.png) [@MarcMagdi](https://answers.netlify.com/u/MarcMagdi)\
**Post date:** [October 19, 2020, 9:02am UTC](https://answers.netlify.com/t/updates-in-contentful-are-not-reflected-in-gatsby/24677/1 "2020-10-19T09:02:02Z")

</div>

My current stack is Contentful as CMS, Gatsby which is hosted on Netlify.

My current stack is Contentful as CMS, Gatsby which is hosted on Netlify.  
The current issue is that in some time (not always) when creating new pages in Contentful it’s not reflected in Gatsby.  
In gatsby-node we are iterating over the pages we have in Contentful and use createPage API to create a new web page for it.  
When creating new web pages, we can’t see that this page got created in Gatsby until we **delete of the cache** and trigger a new build.

A cache that always needs to be cleared is not a very helpful cache.

For our current environment.  
We currently have the [netlify-plugin-gatsby-cache](https://github.com/jlengstorf/netlify-plugin-gatsby-cache) installed in our Netlify env.  
We also enabled the incremental build in Netlify using this command  
`GATSBY_EXPERIMENTAL_PAGE_BUILD_ON_DATA_CHANGES=true gatsby build`

---

<div class="post-metadata">

**Author:** ![perry](https://sea1.discourse-cdn.com/netlify/user_avatar/answers.netlify.com/perry/32/16_2.png) [@perry](https://answers.netlify.com/u/perry)\
**Post date:** [October 20, 2020, 8:04pm UTC](https://answers.netlify.com/t/updates-in-contentful-are-not-reflected-in-gatsby/24677/2 "2020-10-20T20:04:01Z")

</div>

Hi Marc,

I’m a bit puzzled by this - especially the fact that it sometimes works and sometimes doesn’t. Have you been able to detect a pattern?

Does the error occur when you are building locally? Or only with the deployed site?

How up to date is your version of gatsby? I am wondering if this is maybe part of the problem.
