-
-
Notifications
You must be signed in to change notification settings - Fork 514
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
Custom DataLoader without native URL cache #781
Labels
Comments
Hey, I would suggest trying DataCachePolicy.storeEncodedImages. It will encode the processed images (.png) and stored them in the disk cache (aka LRU cache, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm trying to implement a custom plugin.
I download SVG data from URL, then I generate png image from SVG.
I don't want to cache SVG data (URL cache), I would cache png image, I would use LRU disk cache only for that.
My question is:
How to implement custom DataLoader without native URL cache but with LRU disk cache?
Below is my current implementation. The issue: data is caching to memory only even if I have configured the LRU cache in my custom ImagePipeline.
The text was updated successfully, but these errors were encountered: