Update middlewares.go

This commit is contained in:
Florian Hoss 2022-12-21 16:07:35 +01:00
parent 882b72d472
commit eea8458206

View file

@ -8,7 +8,7 @@ import (
func longCacheLifetime(next echo.HandlerFunc) echo.HandlerFunc {
return func(c echo.Context) error {
c.Response().Header().Set(echo.HeaderCacheControl, "public, max-age=31536000, immutable")
c.Response().Header().Set(echo.HeaderCacheControl, "public, max-age=31536000")
return next(c)
}
}