As stated in getExternalCacheDir()'s documentation, the platform usually doesn't clean the external cache directory automatically. Thus, something like a DiskLruCache where you could specify the maximum size that you want the cache to store would be very useful. JakeWharton's DiskLruCache could be a very good starting point for this.
As stated in
getExternalCacheDir()'s documentation, the platform usually doesn't clean the external cache directory automatically. Thus, something like aDiskLruCachewhere you could specify the maximum size that you want the cache to store would be very useful. JakeWharton's DiskLruCache could be a very good starting point for this.