Skip to content

缓存优化,以及清除 #11

Description

@nattychao

缓存我直接替换成了YYCache,因为比NSFileManager要快一些。当APP清除图片缓存时,那么[AutoSize]这些缓存也没必要存在了,目前是永远存储的,除非卸载APP。还有就是一些特殊情况下,图片URL没变,但是返回的图像确实变了,所以为key存储图片时,取出原有存储(如果有)对比一下,如果储存发生变化,则把对应key的reloadstate主动状态设置为NO(即便刷新过这个URL)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions