Next.js · Middle · Question 8 of 75
Which cacheLife profile applies if you don't specify one in 'use cache'?
- ✓Correct answer:
default - 2
max - 3
seconds
Explanation
The default profile: stale 5 minutes, revalidate 15 minutes, expire never. There are presets seconds, minutes, hours, days, weeks, max, and custom profiles in next.config. The docs recommend always specifying cacheLife explicitly so the behavior is clear at the call site.