Next.js Discord

Discord Forum

Is there a recommended way to scale with ISR?

Unanswered
Chausie posted this in #help-forum
Open in Discord
ChausieOP
I'm looking to use Next ISR with multiple pods, the CMS I'm using will trigger webhooks that can tell the app when to revalidate a page - I've saw other posts on using a shared Redis cache system, but the package used doesn't seem to be actively fixing issues, is there a recommended way to set this up?

10 Replies

@Anay-208 > I've saw other posts on using a shared Redis cache system Why not use nextjs on demand revalidation for it
ChausieOP
how will this look though if each pod isn't sharing the same cache system
didn't notice "pods", can I know which package are you referring to
, but the package used doesn't seem to be actively fixing issue
@Anay-208 didn't notice "pods", can I know which package are you referring to
ChausieOP
oh I mean deployment wise, I'm using k8s for deploying
@Anay-208 Also check this out https://nextjs.org/docs/app/guides/self-hosting#configuring-caching
I think this should work if you're using a managed or shared redis
@Chausie updates?