Vary
Adds the given header field to the Vary response header. This will append the header, if not already listed, otherwise leaves it listed in the current location.
Multiple fields are allowed.
func (c *Ctx) Vary(fields ...string)
app.Get("/", func(c *fiber.Ctx) error {
c.Vary("Origin") // => Vary: Origin
c.Vary("User-Agent") // => Vary: Origin, User-Agent
// No duplicates
c.Vary("Origin") // => Vary: Origin, User-Agent
c.Vary("Accept-Encoding", "Accept")
// => Vary: Origin, User-Agent, Accept-Encoding, Accept
// ...
})