Cache Settings for DEV mode

This commit is contained in:
Simon Martens
2025-05-21 14:02:05 +02:00
parent fca2b0dd5e
commit 86b25946eb
10 changed files with 756 additions and 18 deletions

View File

@@ -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,
}))