This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 235
避免在 Normal 模式下对同一张图片的多次网络请求 #698
Labels
enhancement
New feature or request
Comments
第一个请求拿到之后才有 cache |
获取同一个对象是之前迁移到imagedecoder java api的事情 迁移到coil我还真没测试 |
确实得解决一下 |
应该是同一个对象 毕竟memory cache key是一样的 |
这个需求和coil那个issue的需求几乎是一模一样,不过他那边还没实现 |
我觉得可以改一下coil的httpurifetcher |
我明天看看 |
格局还是小了 直接合并所有memory cache key相同的imagerequest得了 |
我还没构建测试 不过意思就是大概这个意思 明天再测试 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
需求 / Requirement
Normal 模式下缩略图是从长图裁剪而来的
而现有方式会对该图片进行重复请求
建议实现 / Suggested implements
coil-kt/coil#1461
备注 / Addition details
No response
EhViewer 版本号 / EhViewer version code
1.8.5.3-alpha06
EhViewer CI 版本 / EhViewer CI Version
https://github.com/Ehviewer-Overhauled/Ehviewer/actions/runs/3949284136
自查步骤 / Verify steps
The text was updated successfully, but these errors were encountered: