Serverside Caching with Next API Routes

Is anyone super familiar with how fetch with next revalidate on api routes works? I know Next API uses lambdas, so I'm curious how data is cached. I'm assuming it is somewhere in Vercel's dbs, but just wanted to see if anyone knew for sure.
1 Reply
Sturlen
Sturlen17mo ago
I don't know the specifics where the cache is stored but they do have docs that go into more detail on their caching and revalidating systems work: https://nextjs.org/docs/app/building-your-application/data-fetching/caching https://nextjs.org/docs/app/building-your-application/data-fetching/revalidating
Data Fetching: Caching
Learn about caching routes in Next.js.
Data Fetching: Revalidating
Learn about revalidating data in Next.js using Incremental Static Regeneration.
Want results from more Discord servers?
Add your server