Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upNeed public methods to clear cache or clear selected files from it #25
Comments
|
@gregko in version |
|
Thank you, @renefloor, will use it in the next release of my product. I appreciate very much your contributions to Flutter project! |
Example: I was trying to download CachedNetworkImage, that required authentication. Forgot to give correct authentication headers (or gave a wrong one). Now cache manager saves as my image an http response - a web page asking to log-in. Code crashes trying to create a JPEG image from that HTML code... There is no official way to remove that bad "image" from the cache until it expires.