Next.js Discord

Discord Forum

If I don't have any requests what time based revalidation revalidates ? (next14)

Unanswered
Burmese posted this in #help-forum
Open in Discord
BurmeseOP
From what I know, nextjs 14 caches fetch requests by default ? (not sure for what time though)

The docs state:
Alternatively, to revalidate all requests in a route segment, you can use the Segment Config Options.
https://nextjs.org/docs/app/building-your-application/data-fetching/caching-and-revalidating#time-based-revalidation

Ok then, but If I dont have any fetch what is the result of revalidate = 3600 ?

5 Replies

It won't revalidate anything?
BurmeseOP
Not sure if I understand correctly, so my SSR will run after time or not ?
if my page is SSG + revalidate after time then what could happen?
BurmeseOP
So if I have SSG page + revalidate = 3600, will my page be recreated after 3600 ?