Skip to content

Commit dd7cb5e

Browse files
committed
update documentation
1 parent 1034510 commit dd7cb5e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

docs/01-app/03-api-reference/05-config/01-next-config-js/turbopackFileSystemCache.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: Learn how to enable FileSystem Caching for Turbopack builds
88

99
Turbopack FileSystem Cache enables Turbopack to reduce work across `next dev` or `next build` commands. When enabled, Turbopack will save and restore data to the `.next` folder between builds, which can greatly speed up subsequent builds and dev sessions.
1010

11-
> **Good to know:** The FileSystem Cache feature is Beta and is still under development. Users adopting should expect some stability issues. We recommend first adopting it for development.
11+
> **Good to know:** The FileSystem Cache feature is considered stable for development and experimental for production builds
1212
1313
```ts filename="next.config.ts" switcher
1414
import type { NextConfig } from 'next'
@@ -43,5 +43,6 @@ module.exports = nextConfig
4343

4444
| Version | Changes |
4545
| --------- | -------------------------------------------------------------- |
46+
| `v16.1.0` | FileSystem caching is enabled by default for development |
4647
| `v16.0.0` | Beta release with separate flags for build and dev |
4748
| `v15.5.0` | Persistent caching released as experimental on canary releases |

packages/next/src/server/config-shared.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -422,6 +422,8 @@ export interface ExperimentalConfig {
422422

423423
/**
424424
* Enable filesystem cache for the turbopack build.
425+
*
426+
* Defaults to `false`.
425427
*/
426428
turbopackFileSystemCacheForBuild?: boolean
427429

0 commit comments

Comments
 (0)