mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-20 21:31:32 +02:00
Merge commit '6aa5c9117fd34644459ea9bcfb1b3f5010658d5d'
This commit is contained in:
@@ -514,7 +514,7 @@ Default configuration:
|
||||
|
||||
Since Hugo 0.52 you can configure more than just the `cacheDir`. This is the default configuration:
|
||||
|
||||
```toml
|
||||
{{< code-toggle >}}
|
||||
[caches]
|
||||
[caches.getjson]
|
||||
dir = ":cacheDir/:project"
|
||||
@@ -531,7 +531,7 @@ maxAge = -1
|
||||
[caches.modules]
|
||||
dir = ":cacheDir/modules"
|
||||
maxAge = -1
|
||||
```
|
||||
{{< /code-toggle >}}
|
||||
|
||||
You can override any of these cache settings in your own `config.toml`.
|
||||
|
||||
|
Reference in New Issue
Block a user