Caching strategies in Next.js

From the Next.js cheat sheet · Data Fetching · verified Jul 2026

Caching strategies

typescript
// Static data - opt IN to caching (uncached by default since v15)
💡 force-cache: opt IN (fetch is no-store by default since v15)
⚡ no-store: always fresh - the default since v15
📌 revalidate: Time-based revalidation
🔥 on-demand revalidation with revalidatePath/Tag

More Next.js tasks

Back to the full Next.js cheat sheet