Next.js · Middle · Question 5 of 75
Are fetch requests in server components cached by default (Next.js 15+, without Cache Components)?
- ✓Correct answer: No: they aren't cached by default; enable caching with
cache: 'force-cache' - 2Yes: all
fetches are cached forever; disable it withno-store - 3Yes, but only GET requests to domains listed in
next.config
Explanation
In Next.js 14, fetch was cached by default, which often surprised people. Since version 15 the behavior is the opposite. With Cache Components enabled, caching is explicit via 'use cache', and uncached data streams inside <Suspense>.