-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
建议对http协议发送的图片进行缓存 #23
Labels
enhancement
New feature or request
Comments
已支持 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
多次发送同一个url的图片时,进行本地缓存可起到加速的作用,避免重复的网络请求。
cqhttp的实现方法是:对url进行md5作为文件名,如果存在则直接发送,如果不存在则下载保存后再发送。
或许可以作为参考。
The text was updated successfully, but these errors were encountered: