mirror of
https://github.com/kataras/iris.git
synced 2025-12-21 11:57:02 +00:00
Update to 5.0.2 - Cache(only) improvements
Cache - only improvements
This commit is contained in:
@@ -561,7 +561,6 @@ func (ctx *Context) renderSerialized(contentType string, obj interface{}, option
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
gzipEnabled := ctx.framework.Config.Gzip
|
||||
charset := ctx.framework.Config.Charset
|
||||
if len(options) > 0 {
|
||||
@@ -1131,11 +1130,6 @@ func (ctx *Context) MaxAge() int64 {
|
||||
return -1
|
||||
}
|
||||
|
||||
// InvalidateCache clears the cache manually for this request uri context's handler's route
|
||||
func (ctx *Context) InvalidateCache() {
|
||||
ctx.framework.InvalidateCache(ctx)
|
||||
}
|
||||
|
||||
// Log logs to the iris defined logger
|
||||
func (ctx *Context) Log(format string, a ...interface{}) {
|
||||
ctx.framework.Logger.Printf(format, a...)
|
||||
|
||||
Reference in New Issue
Block a user