Skip to content
Open
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
11 changes: 11 additions & 0 deletions src/content/docs/pages/configuration/build-caching.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,21 @@ The following frameworks support build output caching:
| Docusaurus | `node_modules/.cache`, `.docusaurus`, `build` |
| Eleventy | `.cache` |
| Gatsby | `.cache`, `public` |
| Hugo | `.cache` |
| Next.js | `.next/cache` |
| Nuxt | `node_modules/.cache/nuxt` |
| SvelteKit | `node_modules/.cache/imagetools` |

:::note[Hugo build caching]
Hugo does not use `.cache` by default. To use build caching with Hugo, set `--cacheDir=$PWD/.cache` in your build command. For example:

```sh
hugo --minify --cacheDir=$PWD/.cache
```

Pages detects Hugo projects via the presence of a `hugo.toml`, `hugo.yaml`, `hugo.yml`, or `hugo.json` config file.
:::

### Limits

The following limits are imposed for build caching:
Expand Down
Loading