Next.js · Middle · Question 24 of 75

What does export const dynamic = 'force-dynamic' do (without Cache Components)?

Explanation

It's a route segment config option from the previous caching model. With Cache Components, explicit tools are used instead: 'use cache' for caching, <Suspense> and connection() for request-time data. It doesn't turn components into client components.

Further reading

Problem with a question

Next.js · Middle · question 24

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