menu_book Course Curriculum (Next.js) expand_more
App Router Foundations
Data and Rendering
Server Features
fetch cache control
Learn fetch cache control in Next.js through a focused explanation, a topic-specific example, an engineering warning, and a mastery check.
12 min read
•
Intermediate
nextjs-010.ts
typescript
const fresh = await fetch('https://api.example.test/live', { cache: 'no-store' });
const cached = await fetch('https://api.example.test/catalog', { cache: 'force-cache' });
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content