mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-10 03:40:24 +08:00
支持对GET/POST之外的请求方法独立缓存
This commit is contained in:
@@ -356,6 +356,7 @@ func (this *APIStream) handlePurgeCache(message *pb.NodeStreamMessage) error {
|
||||
for _, encoding := range compressions.AllEncodings() {
|
||||
keys = append(keys, key+compressionCacheSuffix+encoding)
|
||||
keys = append(keys, key+webpCacheSuffix+compressionCacheSuffix+encoding)
|
||||
keys = append(keys, key+cacheMethodSuffix+"HEAD")
|
||||
}
|
||||
}
|
||||
msg.Keys = keys
|
||||
|
||||
Reference in New Issue
Block a user