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

增加对不同情况Transform 后的Cache #190

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Homin818
Copy link

增加对不同情况Transform 后的Cache

Copy link

@zhongzhenzz zhongzhenzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

xczc

@conversun
Copy link

Thanks

@cddjr
Copy link

cddjr commented May 18, 2018

存在bug,会始终从disk读取cache,而且错误的在network线程中执行了disk读取操作。
我重写了代码,可正确处理disk缓存的读写 cddjr@75ce6c6

_transform && _transformCacheKey) {
//前面为了快速显示图片,只是从内存里面尝试提取图片
//Front to display images quickly, just try to extract oil from the memory images
image = [_cache getImageForKey:_transformCacheKey withType:YYImageCacheTypeDisk];
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里改的有问题,disk的读写操作应放入imageQueue执行

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

Successfully merging this pull request may close these issues.

None yet

4 participants