We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c4c5886 commit a6c66a7Copy full SHA for a6c66a7
middleware/cache/cache.go
@@ -51,7 +51,7 @@ var ignoreHeaders = map[string]any{
51
var cacheableStatusCodes = []int{
52
fiber.StatusOK, fiber.StatusNonAuthoritativeInformation, fiber.StatusNoContent, fiber.StatusPartialContent,
53
fiber.StatusMultipleChoices, fiber.StatusMovedPermanently,
54
- fiber.StatusNotFound, fiber.StatusMethodNotAllowed, fiber.StatusGone, fiber.StatusRequestURITooLong,
+ fiber.StatusNotFound, fiber.StatusMethodNotAllowed, fiber.StatusGone, fiber.StatusTeapot, fiber.StatusRequestURITooLong,
55
fiber.StatusNotImplemented,
56
}
57
0 commit comments