How to serve the latest content to the very first request when using ISR? #153
Locked
shutallbridge
started this conversation in
Show & Tell
Replies: 1 comment
-
Thanks for reaching out. The Vercel Community Discussions are the home for all discussions relative to the Vercel platform. The issue you described is Next.js related and therefore you may wish to ask the Next.js team directly over at the Next.js repo. We’d be happy to help you with any other concerns or queries you may have in a new discussion! |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
From reading this page in the docs, this is my current understanding of ISR. When contents are updated in an external CMS (or other APIs), the following takes place behind Next JS:
A potential issue I see is that whoever visits the page for the first time, after the content on CMS had been changed won't see the new content. The second person to visit the same page will see the new content for the first time, but not the first person.
I was wondering if there are any ways to make sure that the first person to visit also sees the latest content? For example, I can think of two possible work arounds, but I'm wondering if there are better solutions.
Are there recommended solutions to this? Or are the two possible solutions feasible? Thank you in advance for reading my very long question.
Beta Was this translation helpful? Give feedback.
All reactions