Skip to content

用ctx.getFilesDir()作为【缓存路径】是会让缓存的数据【更安全一些】吗? #36

Description

@kakashilw

https://github.com/xufeifandj/Acache 我看有个这个作者把

File f = new File(ctx.getCacheDir(), "ACache"); 改为了File f = new File(ctx.getFilesDir(), cacheName);

然后在说明里写的是“xff轻量级数据存储 修改来自 Michael Yang ,修改缓存路径,防止数据被清空”

用ctx.getFilesDir()是会让缓存的数据更安全一些吗?

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