feat: cache revalidation

This commit is contained in:
2026-02-27 23:10:02 +01:00
parent 6f98d730bb
commit abfddca518
12 changed files with 768 additions and 143 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,
}