mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 04:16:13 +00:00
1 parent
72b6791a16
commit
07c1b2b46f
1 file changed
+2
-2
@@ -439,8 +439,8 @@ You can override any of these cache setting in your own `config.toml`.
|
|||||||
: This is the value of the `resourceDir` config option.
|
: This is the value of the `resourceDir` config option.
|
||||||
|
|
||||||
maxAge
|
maxAge
|
||||||
: This is the time in seconds before a cache entry will be evicted, -1 means forever and 0 effectively turns that particular cache off.
|
: This is the duration before a cache entry will be evicted, -1 means forever and 0 effectively turns that particular cache off. Uses Go's `time.Duration`, so valid values are `"10s"` (10 seconds), `"10m"` (10 minutes) and `"10m"` (10 hours).
|
||||||
|
|
||||||
dir
|
dir
|
||||||
: The absolute path to where the files for this cache will be stored. Allowed starting placeholders are `:cacheDir` and `:resourceDir` (see above).
|
: The absolute path to where the files for this cache will be stored. Allowed starting placeholders are `:cacheDir` and `:resourceDir` (see above).
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user