Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Need a way to purge the DiskCache. #35
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
I need something like this too. Actually I would also like to invalidate the memory cache too. This is a very valid use case.
Consider that you are using the cache for thumbnails of videos on the device. Sometimes the video may be edited in-place, so the cache is invalidated. The edit may be done externally, so there should be a method to invalidate all cache entries at once.