We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 288d548 commit 3a81c23Copy full SHA for 3a81c23
middleware/cache.go
@@ -68,7 +68,7 @@ func Cache() gin.HandlerFunc {
68
Header: ctx.Writer.Header().Clone(),
69
Body: customWirter.body.Bytes(),
70
}
71
- globle.GlobleCache.UpdateCache("GIN-Cache", cacheKey, responseCacheData, cacheDuration)
+ go globle.GlobleCache.UpdateCache("GIN-Cache", cacheKey, responseCacheData, cacheDuration)
72
73
74
0 commit comments