mirror of
https://github.com/Theodor-Springmann-Stiftung/lenz-web.git
synced 2025-10-29 17:25:32 +00:00
Cache Settings for DEV mode
This commit is contained in:
@@ -62,7 +62,7 @@ func New(engine *templating.Engine, storage fiber.Storage, debug bool) Server {
|
||||
server.Use(cache.New(cache.Config{
|
||||
Next: CacheFunc,
|
||||
Expiration: CACHE_TIME,
|
||||
CacheControl: true,
|
||||
CacheControl: false,
|
||||
Storage: storage,
|
||||
KeyGenerator: KeyGenerator,
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user