Gatsby+Contentful+Netlify - occasionally missing images #38645
Unanswered
FrivalszkyP
asked this question in
Help
Replies: 1 comment 3 replies
-
I've been having issue like this with Asset references in general. And I've just had an occurrence, where a newly added image would only become visible after clearing the cache, then go missing after the next cached build, while usually it would stay visible once I had cleared the cache once. I've found the Maybe @axe312ger can help us with this. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I have the aforementioned configuration. When a new build is triggered by Contentful, sometimes, the Netlify build doesn't pick up the latest images added to my entries. Whether it be an inline asset in a rich text field or an image directly linked to an entry, it might end up missing from my build. When I clear the Netlify cache, the image appears. This is not Netlify-specific, though, I was able to produce the same issue on a local build. There could be something wrong with how the cache is handled by the contentful plugin. I'd love to start debugging it but I do not even know where to start. I'm using the latest gatsby ("5.12.7") and gatsby-source-contentful ("8.12.2") packages.
Has anyone encountered anything similar?
Beta Was this translation helpful? Give feedback.
All reactions