Next.js Discord

Discord Forum

Fetch Time-based Revalidation, but don't return if stale?

Unanswered
Transvaal lion posted this in #help-forum
Open in Discord
Avatar
Transvaal lionOP
I found this diagram explaining Time-based Revalidation. Is there a way to cache the fetch request, but let it nto hit cache if over the set X amount of time?

I know about revalidateTag, but preferably there is a better solution. Should i just do no-cache and use an in-memory cache?
Image

1 Reply

Avatar
Transvaal lionOP
Bump :)