If a change is made in your external API, Prismic will automatically update the data to ensure that you always have the most up-to-date content. The content refresh happens every 30 minutes.
The last_update field sorts the results array. This field is the timestamp of the last update for an item, sorted from newest to oldest.
Prismic is not updated with the most up-to-date content. Entries are missing after sync.
We are currently sorting the results array in our endpoint on the last_update field and we believe that is the reason entries are missing after the sync since entries are changing order during the sync.
Yes. We are updating our integration filed endpoint very frequently and we are guessing that is the reason for why entries are missing after the sync.
Will you still hit every page on our endpoint during the sync if we set last_updated time to 0?
Prismic takes a bit of time in sync, and once this is done, you need to start another sync activity. That way, the integration data field will constantly be updated according to new data from sync.
Frequently updating data in sync while another sync is already running will create data discrepancies.
For the last_updated time to 0, I am not sure and will connect with my team for that.