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

建议相册功能在本地缓存一部分缩略图 #29

Closed
Colin-XKL opened this issue Jan 22, 2020 · 1 comment
Closed

建议相册功能在本地缓存一部分缩略图 #29

Colin-XKL opened this issue Jan 22, 2020 · 1 comment

Comments

@Colin-XKL
Copy link

相册功能可以看到最近上传的图片,但是每次好像都是读取图片外链再显示。对于OOS,COS这种就比较不友好,流量费用问题是小事(不过如果相册里面条目很多,每次都请求一遍的话就不是小事了),尤其在开启防盗链相关选项后,本地电脑没办法绑定域名加入白名单,就会无法读取。而使用相册功能大多数情况下我觉得只是查找最近几次上传的照片而已 ,建议在本地缓存一下低分辨率的缩略图,大概区分每张图的内容就,找回生成的链接就可以了。

@Molunerfinn
Copy link
Member

目前已经做了图片懒加载。另外无法区分分辨率高低。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants