Next.js · Senior · Question 52 of 75

What does export const ensureStatic = 'shell' guarantee for a route?

Explanation

Levels are 'shell', 'prefetch' and 'navigation', each stricter than the previous one. It works only with Cache Components and protects performance from regressions.

Further reading

Problem with a question

Next.js · Senior · question 52

Test yourself

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

Take this quiz