Next.js · Middle · Question 69 of 75

With cacheComponents: true, why does export const revalidate = 60 in a page fail?

Explanation

Cache Components move caching decisions from the route to individual functions and components, so route-wide flags no longer apply.

Further reading

Problem with a question

Next.js · Middle · question 69

Test yourself

Take the Next.js · Middle quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz