Next.js Discord

Discord Forum

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

Transvaal lion posted this in #help-forum
Open in Discord
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?

1 Reply

Transvaal lionOP
Bump :)