feat: cache revalidation

This commit is contained in:
2026-03-02 22:38:14 +01:00
parent 3cc632e358
commit 6c1387c1cd
10 changed files with 767 additions and 142 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ func registerOther() (h http.Handler) {
if err != nil {
slog.Error("failed to create valkey client", "err", err)
} else {
fs = filesystem.NewCachedClient(webdavClient, valkeyClient, 5*time.Minute)
fs = filesystem.NewCachedClient(webdavClient, valkeyClient, 5*time.Hour)
}
_ = handlehome.New(mux, page.New(fs))