访问日志中增加缓存状态

This commit is contained in:
刘祥超
2021-05-12 16:31:28 +08:00
parent ebf4d41290
commit 1192f15676

View File

@@ -97,6 +97,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) {
}()
this.varMapping["cache.status"] = "HIT"
this.logAttrs["cache.status"] = "HIT"
// 读取Header
headerBuf := []byte{}