mirror of https://github.com/gofiber/fiber.git
chore(middleware/cache): fix typo (#3145)
parent
1169e9ac99
commit
0caa103a43
|
@ -117,7 +117,7 @@ func New(config ...Config) fiber.Handler {
|
|||
// Get timestamp
|
||||
ts := atomic.LoadUint64(×tamp)
|
||||
|
||||
// Cache Entry not found
|
||||
// Cache Entry found
|
||||
if e != nil {
|
||||
// Invalidate cache if requested
|
||||
if cfg.CacheInvalidator != nil && cfg.CacheInvalidator(c) {
|
||||
|
|
Loading…
Reference in New Issue