mirror of
https://github.com/kataras/iris.git
synced 2026-01-23 20:05:59 +00:00
[2] Continue working on #513
This commit is contained in:
@@ -1133,7 +1133,7 @@ func (ctx *Context) MaxAge() int64 {
|
||||
|
||||
// InvalidateCache clears the cache manually for this request uri context's handler's route
|
||||
func (ctx *Context) InvalidateCache() {
|
||||
ctx.framework.CacheService.InvalidateCache(GetCacheKey(ctx))
|
||||
ctx.framework.cacheService.InvalidateCache(GetCacheKey(ctx))
|
||||
}
|
||||
|
||||
// Log logs to the iris defined logger
|
||||
|
||||
Reference in New Issue
Block a user