Answer the question
In order to leave comments, you need to log in
How to update file content when accessing Gatsby.js?
There is a task: when opening site.com/file.xml, get up-to-date data. This incremental data is taken from an API from another service. How can I ensure that the contents of a file are updated when a link is opened or once in a while?
Application on Gatsby.js, hosted on Netlify.
Now the file is created on build in the public folder via gatsby-node.js.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question