diff --git a/server/static/static.go b/server/static/static.go index adfac1ba..82a461ae 100644 --- a/server/static/static.go +++ b/server/static/static.go @@ -68,7 +68,7 @@ func Static(r *gin.Engine) { r.Use(func(c *gin.Context) { for i := range folders { if strings.HasPrefix(c.Request.RequestURI, fmt.Sprintf("/%s/", folders[i])) { - c.Header("Cache-Control", "max-age=86400") + c.Header("Cache-Control", "public, max-age=15552000") } } })