Closed cedvdb closed 2 years ago
CachedNetworkImage is using DefaultCacheManager()
, unless a different manager is provided. If you also use DefaultCacheManager or the one you provided to CachedNetworkImage the cache is shared.
I assume you do use the uuid cache key also in CachedNetworkImage.
💬 Questions and Help
do multiple instances use the same database ?
Use case
I have those requirements:
A library A that uses
cached_network_image
(which uses cache manager). I also have a top layer that caches files before they are sent to the DB under an uuid cache key (if the user sent those) and when downloaded if the user is seeing an image from someone else.Given those two statements above, I'd have two cache manager so I'd like to know if the files is going to be cached twice ?