Question · Next.js course · Module 3: Styling and Visual Optimization
Forcing SSG via cache
Which fetch option forces static generation (SSG) in Next.js 16 according to the lesson?
Answer options
- cache: 'force-cache'
- cache: 'no-store'
- next: { revalidate: 3600 }
- dynamic: 'force-dynamic'
You can check the correct answer by solving this task in the CodeWorlds game.