Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

enhancement: increase tenants cache to 30 days (#634)

Guilherme Oenningfecdf30daa69
diff --git a/app/cmd/routes.go b/app/cmd/routes.go
index bd56fc597..14f74b558 100644
--- a/app/cmd/routes.go
+++ b/app/cmd/routes.go
@@ -62,7 +62,7 @@ func routes(r *web.Engine) *web.Engine {
tenantAssets := r.Group()
{
- tenantAssets.Use(middlewares.ClientCache(72 * time.Hour))
+ tenantAssets.Use(middlewares.ClientCache(30 * 24 * time.Hour))
tenantAssets.Get("/avatars/:size/:id/:name", handlers.Avatar())
tenantAssets.Get("/images/:size/:id", handlers.ViewUploadedImage())
tenantAssets.Get("/custom/:md5.css", func(c web.Context) error {