mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-28 16:55:32 +00:00
KeyGenerator f Cache
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
||||
cache/
|
||||
_cache/
|
||||
tmp/
|
||||
lenz-web
|
||||
|
||||
@@ -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())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user