fiber/middleware/cache
miyamo2 8970f515dd
🐛 fix: Align cache middleware with RFC7231 (#3283)
* 🩹 Fix(v3;middleware/cache): don't cache if status code is not cacheable

* allow 418 TeaPot

* fix test

* fix lint error

* check cacheability with map

* documentation

* fix: markdown lint

---------

Co-authored-by: Juan Calderon-Perez <835733+gaby@users.noreply.github.com>
2025-01-20 08:22:51 +01:00
..
cache.go 🐛 fix: Align cache middleware with RFC7231 (#3283) 2025-01-20 08:22:51 +01:00
cache_test.go 🐛 fix: Align cache middleware with RFC7231 (#3283) 2025-01-20 08:22:51 +01:00
config.go v3: Use Named Fields Instead of Positional and Align Structures to Reduce Memory Usage (#3079) 2024-07-23 08:37:45 +02:00
heap.go Bump golangci-lint to v1.62.0 (#3196) 2024-11-11 10:37:27 +01:00
manager.go Bump golangci-lint to v1.62.0 (#3196) 2024-11-11 10:37:27 +01:00
manager_msgp.go feat: Add Drop method to DefaultCtx for silent connection termination (#3257) 2024-12-23 08:20:41 +01:00
manager_msgp_test.go chore: Add support for go1.23 and golangci-lint v1.60.1 (#3101) 2024-08-14 09:14:04 +02:00
manager_test.go 🐛 [Bug]: cache middleware: runtime error: index out of range [0] with length 0 (#3075) 2024-07-23 08:36:41 +02:00