优化Partial Content内容缓存,现在可以使用“部分文件缓存+部分回源”的方式提供内容

This commit is contained in:
刘祥超
2024-05-07 16:20:22 +08:00
parent 02da06dffd
commit 8de74b62e7
11 changed files with 219 additions and 16 deletions

View File

@@ -401,7 +401,7 @@ func (this *HTTPRequest) doBegin() {
// Reverse Proxy
if this.reverseProxyRef != nil && this.reverseProxyRef.IsOn && this.reverseProxy != nil && this.reverseProxy.IsOn {
this.doReverseProxy()
_ = this.doReverseProxy(true)
return
}