Configuration
Turbopack filesystem build cache
Turbopack filesystem caching reuses compilation work between invocations. Documentation distinguishes stable development support from experimental production build caching; development caching is default-enabled since 16.1. Compare equivalent cold and warm runs; never treat cached build output as proof of correctness. Keep experimental production caching disabled in the default lane. Source: https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopackFileSystemCache. Documentation-reviewed illustrative draft; installed declarations and runtime not verified.
Formal Syntax & Structure
nextjs syntaxnextjs
experimental.turbopackFileSystemCacheForDev; experimental.turbopackFileSystemCacheForBuildWorking Example
Example Snippetnextjs
export default {experimental:{turbopackFileSystemCacheForDev:true,turbopackFileSystemCacheForBuild:false}}