UPDATE: ignore patterns
All checks were successful
Build and Release / release (push) Successful in 1m33s

This commit is contained in:
2026-05-20 06:33:37 +07:00
parent 9cd244df12
commit 5fe3025c72
4 changed files with 15 additions and 7 deletions

View File

@@ -83,6 +83,8 @@ func (ctrl *goongController) Proxy(c fiber.Ctx) error {
c.Set(k, v)
}
c.Set("Vary", "Origin")
if c.Method() == "GET" {
if statusCode == fiber.StatusOK || statusCode == fiber.StatusNotModified {
c.Set("Cache-Control", "public, max-age=86400")