flutter_cache_manager
flutter_cache_manager copied to clipboard
Is there a way to set maximum cache size (in megabytes)
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)
No not at the moment. You can only set how many files are cached, not how large the cache can be.