Why this matters
Prevents unexpected caching and makes SSR vs ISR strategy explicit.
For dynamic data use { cache: 'no-store' } or file-level dynamic = 'force-dynamic'. For ISR use { next: { revalidate: N, tags: [...] } }.
Prevents unexpected caching and makes SSR vs ISR strategy explicit.
Side-by-side examples engineers can pattern-match during review.
await fetch('https://api.example.com/stats') // implicit cacheawait fetch('https://api.example.com/stats', { cache: 'no-store' })
await fetch('https://api.example.com/posts', { next: { revalidate: 3600, tags: ['posts'] } })fetch(url) with no optionsfetch(url,{ cache:'no-store' }) // real-time dashboardFrom the same buckets as this rule.