Skip to content

Commit 77e9952

Browse files
committed
Adjust hugo caching
Signed-off-by: Ian Maddaus <[email protected]>
1 parent 1be93f9 commit 77e9952

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

hugo.toml

+5-3
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,16 @@ summaryLength = 20
8080
maxAge = -1
8181
[caches.getjson]
8282
dir = ':cacheDir/:project'
83-
maxAge = "1h"
83+
maxAge = -1
8484
[caches.getresource]
8585
dir = ':cacheDir/:project'
86-
maxAge = "1h"
86+
maxAge = -1
8787
[caches.images]
8888
dir = ':resourceDir/_gen'
8989
maxAge = -1
90+
[caches.misc]
91+
dir = ':cacheDir/:project'
92+
maxAge = -1
9093
[caches.modules]
9194
dir = ':cacheDir/modules'
9295
maxAge = -1
93-

0 commit comments

Comments
 (0)