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

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())
}