From 0286144b14ef7ce2a943999fc616c3c24be83c57 Mon Sep 17 00:00:00 2001 From: tdro Date: Sat, 28 May 2022 17:53:31 -0400 Subject: config: Set caches --- config.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'config.yaml') 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 -- cgit v1.2.3