aboutsummaryrefslogtreecommitdiff
path: root/config.json
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.json
parent854481ff9080a8af8ac3adfdbb00da10e5656689 (diff)
downloadcanory-0286144b14ef7ce2a943999fc616c3c24be83c57.tar.gz
canory-0286144b14ef7ce2a943999fc616c3c24be83c57.tar.bz2
canory-0286144b14ef7ce2a943999fc616c3c24be83c57.zip
config: Set caches
Diffstat (limited to 'config.json')
-rw-r--r--config.json26
1 files changed, 26 insertions, 0 deletions
diff --git a/config.json b/config.json
index 3e6db0c..ad4a10f 100644
--- a/config.json
+++ b/config.json
@@ -245,6 +245,32 @@
"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": [
{