summaryrefslogtreecommitdiffstats
path: root/docs/content
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-11-14 10:51:41 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2018-11-14 23:14:50 +0100
commitd3489eba5dfc0ecdc032016d9db0746213dd5f0e (patch)
treedb3b9c23a010a03cb9651fb89ecce9f86fdfb7cf /docs/content
parent17d7ecde2b261d2ab29049d12361b66504e3f995 (diff)
cache/filecache: Use time.Duration for maxAge
Fixes #5438
Diffstat (limited to 'docs/content')
-rw-r--r--docs/content/en/getting-started/configuration.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/content/en/getting-started/configuration.md b/docs/content/en/getting-started/configuration.md
index de978f510..cb2eed4cd 100644
--- a/docs/content/en/getting-started/configuration.md
+++ b/docs/content/en/getting-started/configuration.md
@@ -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.
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
: The absolute path to where the files for this cache will be stored. Allowed starting placeholders are `:cacheDir` and `:resourceDir` (see above).