Cache Key Gen

This commit is contained in:
Simon Martens
2025-04-14 13:26:19 +02:00
parent 31d40c1ce1
commit 113a084f50
4 changed files with 14 additions and 5 deletions

View File

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