Color mode

Build cache

cache controls the persistent cache used during builds. It is optional; the integration supplies a suitable directory by default.

Field Default Meaning
cache.enabled true Set to false to disable the persistent cache and rebuild everything.
cache.directory <buildDirectory>/cache Overrides where cache entries are stored. Set it to relocate or share the cache; an unset value keeps the integration default.

The cache stores processed content and plugin results between builds. Disabling it or moving its directory only affects build performance, not the output; a cold build produces the same result.

History

1 changesCollapseExpand
1 + ---
2 + title: Build cache
3 + sidebar:
4 + label: Build cache
5 + order: 50
6 + ---
7 +
8 + # Build cache
9 +
10 + `cache` controls the persistent cache used during builds. It is optional; the integration supplies a suitable directory by default.
11 +
12 + | Field | Default | Meaning |
13 + | --- | --- | --- |
14 + | `cache.enabled` | `true` | Set to `false` to disable the persistent cache and rebuild everything. |
15 + | `cache.directory` | `<buildDirectory>/cache` | Overrides where cache entries are stored. Set it to relocate or share the cache; an unset value keeps the integration default. |
16 +
17 + The cache stores processed content and plugin results between builds. Disabling it or moving its directory only affects build performance, not the output; a cold build produces the same result.
18 +