diff --git a/src/content/docs/pages/configuration/build-caching.mdx b/src/content/docs/pages/configuration/build-caching.mdx index 10cbbaf633ecb7f..669755637cbc83f 100644 --- a/src/content/docs/pages/configuration/build-caching.mdx +++ b/src/content/docs/pages/configuration/build-caching.mdx @@ -36,12 +36,14 @@ When enabled, the build cache will automatically detect and cache data from each ### Package managers -Package manager caches are automatically saved to the build cache to speed up dependency installation. Pages will cache the global cache directories of the following package managers: - -- [yarn 1](https://yarnpkg.com/) -- [npm](https://www.npmjs.com/) -- [pnpm](https://pnpm.io/) -- [bun](https://bun.sh/) +Pages will cache the global cache directories of the following package managers: + +| Package Manager | Directories cached | +| ----------------------------- | -------------------- | +| [npm](https://www.npmjs.com/) | `.npm` | +| [yarn](https://yarnpkg.com/) | `.cache/yarn` | +| [pnpm](https://pnpm.io/) | `.pnpm-store` | +| [bun](https://bun.sh/) | `.bun/install/cache` | ### Frameworks diff --git a/src/content/docs/workers/ci-cd/builds/build-caching.mdx b/src/content/docs/workers/ci-cd/builds/build-caching.mdx index e856bc87509654c..92cf20b3a9eda6d 100644 --- a/src/content/docs/workers/ci-cd/builds/build-caching.mdx +++ b/src/content/docs/workers/ci-cd/builds/build-caching.mdx @@ -39,10 +39,12 @@ The following shows which package managers and frameworks are supported for depe Workers build cache will cache the global cache directories of the following package managers: -- [yarn](https://yarnpkg.com/) -- [npm](https://www.npmjs.com/) -- [pnpm](https://pnpm.io/) -- [node.js](https://nodejs.org/) +| Package Manager | Directories cached | +| ----------------------------- | -------------------- | +| [npm](https://www.npmjs.com/) | `.npm` | +| [yarn](https://yarnpkg.com/) | `.cache/yarn` | +| [pnpm](https://pnpm.io/) | `.pnpm-store` | +| [bun](https://bun.sh/) | `.bun/install/cache` | ### Frameworks