Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions src/content/docs/pages/configuration/build-caching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 6 additions & 4 deletions src/content/docs/workers/ci-cd/builds/build-caching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
Loading