想给web代理加入图片缓存的功能,不知道是否合适呢? #6811
ashesofdream
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
看了一下代码,目前想法是从server/common/proxy.go->Proxy入手,如果链接的file非local的话,通过后缀判断是否为图片,是图片就整个本地缓存。设置方面加个全局设置,调整可容忍的web代理的缓存大小。
Beta Was this translation helpful? Give feedback.
All reactions