Skip to content
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

Closed
Ice9Coffee opened this issue Aug 4, 2020 · 1 comment
Closed

建议对http协议发送的图片进行缓存 #23

Ice9Coffee opened this issue Aug 4, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@Ice9Coffee
Copy link

多次发送同一个url的图片时,进行本地缓存可起到加速的作用,避免重复的网络请求。

cqhttp的实现方法是:对url进行md5作为文件名,如果存在则直接发送,如果不存在则下载保存后再发送。
或许可以作为参考。

@Mrs4s Mrs4s added the enhancement New feature or request label Aug 4, 2020
@Mrs4s
Copy link
Owner

Mrs4s commented Aug 19, 2020

已支持

@Mrs4s Mrs4s closed this as completed Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants