next.config.js
The configuration file at the project root that sets Next.js options such as output, images and experimental features.
In more detail
Options under experimental may change between versions. The course sets output: 'standalone', staleTimes and image formats here.
Related terms
- standalone output — A next.config setting that makes next build produce a self-contained folder with a minimal server.js and only the node_modules files it needs.
- staleTimes — An experimental next.config option that sets how long the Router Cache may reuse dynamic and static page segments.
Taught in
- Router Cache: In-Memory Client Prefetch Semantics — Next.js 15 & Modern App Router Architecture
- Instrumentation: OpenTelemetry & Performance Spans — Next.js 15 & Modern App Router Architecture
- Containerized Deployment: Multi-Stage Docker Builds — Next.js 15 & Modern App Router Architecture