Prioritizing On-Demand ISR queue (Pages Router)
Unanswered
Boxer posted this in #help-forum
BoxerOP
While implementing our On-Demand ISR, we've come to the realization that we can't reach 100% certainty on what pages will need to be revalidated due to a content change, so we are planning on revalidating the whole site, while revalidating the pages we know are relevant first.
If I call the res.revalidate() on page paths that we know are related first (and then on the rest), will that be enough? Should I await all of the promises for those pages before calling the rest of the site's pages? I don't have much insight into how the queue of revalidation is resolved.
If I call the res.revalidate() on page paths that we know are related first (and then on the rest), will that be enough? Should I await all of the promises for those pages before calling the rest of the site's pages? I don't have much insight into how the queue of revalidation is resolved.