1
0
mirror of https://github.com/gofiber/fiber.git synced 2025-02-24 20:44:00 +00:00
fiber/middleware
Roman 5a3edb9011 🔥add the option to set a custom Cache-Control value for a favicon response
Right now, each favicon response sets the `Cache-Control` header to
`public, max-age=31536000` (1 year). In some cases this could be a
little bit high if you are changing it etc. and the header is not
replaced by a reverse proxy.

With this change, the favicon middleware allows the configuration of the
`Cache-Control` header. The default behavior is to keep the setting of
`max-age=31536000 `, but you could fine-tune it.
2020-10-05 08:35:29 +02:00
..
2020-09-27 12:22:17 +02:00
📚 fix typo
2020-09-28 13:12:54 +08:00
2020-09-23 23:21:23 +10:00
2020-10-03 10:52:06 -04:00
2020-09-28 13:06:42 +08:00
2020-09-27 13:14:00 +02:00
2020-09-17 13:41:06 +08:00
2020-09-29 21:41:47 +02:00
2020-09-29 17:46:53 +02:00
📚 fix typo
2020-09-28 13:12:54 +08:00
2020-09-27 18:24:05 +02:00
2020-09-17 13:41:06 +08:00
2020-09-30 13:42:02 -05:00
v2
2020-09-13 11:20:11 +02:00