★ wanayoo — archive 1999 https://github.com/Baseflow/flutter_cache_manager/issues/25Nouvelle recherche | Portail wanayoo
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need public methods to clear cache or clear selected files from it #25

Closed
gregko opened this issue Jul 7, 2018 · 2 comments
Closed

Need public methods to clear cache or clear selected files from it #25

gregko opened this issue Jul 7, 2018 · 2 comments

Comments

@gregko
Copy link

@gregko gregko commented Jul 7, 2018 •

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.

@renefloor
Copy link
Collaborator

@renefloor renefloor commented Nov 24, 2018

@gregko in version 0.3.0-alpha.2 I added a method to remove specific urls from the cache.

@renefloor renefloor closed this Nov 24, 2018
@gregko
Copy link
Author

@gregko gregko commented Nov 24, 2018

Thank you, @renefloor, will use it in the next release of my product. I appreciate very much your contributions to Flutter project!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.