flutter_cache_manager icon indicating copy to clipboard operation
flutter_cache_manager copied to clipboard

Is there a way to set maximum cache size (in megabytes)

Open aytunch opened this issue 5 years ago • 1 comments

We can set max number of cached files and a life span. But i could not find a way to set a maximum size limit. If we can set lets say 300MB and we are at 250BM atm; when a new 100MB file getting cahced, the oldest should be deleted (or more up to 50MB)

aytunch avatar Jan 10 '21 10:01 aytunch

No not at the moment. You can only set how many files are cached, not how large the cache can be.

renefloor avatar Jan 14 '21 08:01 renefloor