aboutsummaryrefslogtreecommitdiff
path: root/config.yaml
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-28 17:53:31 -0400
committertdro <tdro@noreply.example.com>2022-05-28 17:53:31 -0400
commit0286144b14ef7ce2a943999fc616c3c24be83c57 (patch)
treeb4bab8c5d46f8a02c756b0fd202b4c084f2bda0d /config.yaml
parent854481ff9080a8af8ac3adfdbb00da10e5656689 (diff)
downloadcanory-0286144b14ef7ce2a943999fc616c3c24be83c57.tar.gz
canory-0286144b14ef7ce2a943999fc616c3c24be83c57.tar.bz2
canory-0286144b14ef7ce2a943999fc616c3c24be83c57.zip
config: Set caches
Diffstat (limited to 'config.yaml')
-rw-r--r--config.yaml20
1 files changed, 20 insertions, 0 deletions
diff --git a/config.yaml b/config.yaml
index a71f1d5..a297ded 100644
--- a/config.yaml
+++ b/config.yaml
@@ -168,6 +168,26 @@ outputs:
page:
- html
+caches:
+ assets:
+ dir: :resourceDir/_gen
+ maxAge: -1
+ images:
+ dir: :resourceDir/_gen
+ maxAge: -1
+ getcsv:
+ dir: :resourceDir/caches
+ maxAge: 12h
+ getjson:
+ dir: :resourceDir/caches
+ maxAge: 12h
+ getresource:
+ dir: :resourceDir/caches
+ maxAge: 12h
+ modules:
+ dir: :resourceDir/caches
+ maxAge: -1
+
module:
mounts:
- source: content