KeyGenerator f Cache

This commit is contained in:
Simon Martens
2025-05-20 10:13:37 +02:00
parent 2ee6b0ce04
commit 9bd1d0c810
3 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
cache/
_cache/
tmp/
lenz-web

BIN
lenz-web

Binary file not shown.

View File

@@ -64,6 +64,7 @@ func New(engine *templating.Engine, storage fiber.Storage, debug bool) Server {
Expiration: CACHE_TIME,
CacheControl: true,
Storage: storage,
KeyGenerator: KeyGenerator,
}))
server.Use(recover.New())
}