mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-04 15:50:27 +08:00
访问日志中增加缓存状态
This commit is contained in:
@@ -97,6 +97,7 @@ func (this *HTTPRequest) doCacheRead() (shouldStop bool) {
|
|||||||
}()
|
}()
|
||||||
|
|
||||||
this.varMapping["cache.status"] = "HIT"
|
this.varMapping["cache.status"] = "HIT"
|
||||||
|
this.logAttrs["cache.status"] = "HIT"
|
||||||
|
|
||||||
// 读取Header
|
// 读取Header
|
||||||
headerBuf := []byte{}
|
headerBuf := []byte{}
|
||||||
|
|||||||
Reference in New Issue
Block a user