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
-8
View File
@@ -1,8 +1,6 @@
package page
import (
"log/slog"
"git.schreifuchs.ch/schreifuchs/schreifuchs.ch/internal/filesystem"
)
@@ -11,12 +9,6 @@ type Service struct {
}
func New(fs filesystem.FS) *Service {
info, err := fs.ReadDir("/")
if err != nil {
slog.Error("could not read dir", "err", err)
}
slog.Info("file info", "info", info)
return &Service{
fs: fs,
}