Next.js Discord

Discord Forum

RSC: how often is noStore() fetch is revalidated?

Answered
Greater Flamingo posted this in #help-forum
Open in Discord
Greater FlamingoOP
How often is RSC revalidated when using unstable_nostore (noStore())? Its definitely not on every client-side navigation, but revalidation happens after sometime though, am I able to edit this time interval to 0?

15 Replies

@Greater Flamingo its for all requests, for you pretty sure client router cache is coming in place, do you see it updating every 30s?
Greater FlamingoOP
yeah i think so its some time around 30s
@Greater Flamingo yeah i think so its some time around 30s
ok so which version of nextjs are you on?
Greater FlamingoOP
wondering why its not mentioned anywhere in docs or official course
Answer
Greater FlamingoOP
if i am landing directly to the RSC page every request revalidates, problem is which client side navigation
@Arinji thanks a lot, address my question correctly 👍
np, mark a solution :D
Original message was deleted
boop
Greater FlamingoOP
one more doubt.. why there is a stale-time option for static page as well, aren't they supposed to be stale till next build?
like when you generate on build, but is dynamic
so it will be updated by cache invalidation
Greater FlamingoOP
ok, is this ISR?
@Greater Flamingo ok, is this ISR?
hmm sure