Commit 01b759cf authored by Luke Sandberg's avatar Luke Sandberg

update documentation

parent 3feffe96
...@@ -8,7 +8,7 @@ description: Learn how to enable FileSystem Caching for Turbopack builds ...@@ -8,7 +8,7 @@ description: Learn how to enable FileSystem Caching for Turbopack builds
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. 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.
> **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. > **Good to know:** The FileSystem Cache feature is considered stable for development and experimental for production builds
```ts filename="next.config.ts" switcher ```ts filename="next.config.ts" switcher
import type { NextConfig } from 'next' import type { NextConfig } from 'next'
...@@ -43,5 +43,6 @@ module.exports = nextConfig ...@@ -43,5 +43,6 @@ module.exports = nextConfig
| Version | Changes | | Version | Changes |
| --------- | -------------------------------------------------------------- | | --------- | -------------------------------------------------------------- |
| `v16.1.0` | FileSystem caching is enabled by default for development |
| `v16.0.0` | Beta release with separate flags for build and dev | | `v16.0.0` | Beta release with separate flags for build and dev |
| `v15.5.0` | Persistent caching released as experimental on canary releases | | `v15.5.0` | Persistent caching released as experimental on canary releases |
...@@ -416,6 +416,8 @@ export interface ExperimentalConfig { ...@@ -416,6 +416,8 @@ export interface ExperimentalConfig {
/** /**
* Enable filesystem cache for the turbopack build. * Enable filesystem cache for the turbopack build.
*
* Defaults to `false`.
*/ */
turbopackFileSystemCacheForBuild?: boolean turbopackFileSystemCacheForBuild?: boolean
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment