Skip to content

Is cache path ".../cachecache/..." a bug? #15

Closed

Description

@coolzilj

I'm playing with the flutter_cached_network_image , trying to figure out how and where images are cached.

With the help of CacheManager.getFile, I noticed that the path of cache images
/data/user/0/com.example.helloworld/cachecache/4fd9d460-4800-11e8-e6b9-3f018955612d.jpeg
is different with the getTemporaryDirectory by path_provider which is something like this
/data/user/0/com.example.helloworld/cache/hello_worldLNOPCM/hello_world/build/flutter_assets/AssetManifest.json

So, is this a bug?

Activity

  1. renefloor commented on May 24, 2018

    @renefloor
    Contributor

    I'll have to look into this for Android and iOS, but it looks like it indeed it looks like this is indeed a real problem. I don't know why I didn't see this before. Maybe getTemporaryDirectory changed or something like that.

  2. coolzilj commented on May 24, 2018

    @coolzilj
    Author

    some unit tests would be fine

  3. sgon00 commented on Sep 7, 2018

    @sgon00

    @coolzilj I am wondering why you close this bug, since the cache directory is still cachecache/ now. If it shouldn't be this directory, this bug should still remain open.

  4. renefloor commented on Sep 9, 2018

    @renefloor
    Contributor

    @sgon00 I agree

  5. renefloor commented on Nov 24, 2018

    @renefloor
    Contributor

    Fixed in 0.3.0-alpha.2

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions