VideoSpike / nativescript-web-image-cache

An image caching library for both Android and iOS that wraps Facebook Fresco and SDWebImageCache
MIT License
43 stars 22 forks source link

Update cache for specific URL #47

Open abhayastudios opened 6 years ago

abhayastudios commented 6 years ago

I was wondering whether it is possible to force a reload for a specific URL without affect (clearing) the entire cache, or how to "pre-load" any images for that matter.

For example, if I am downloading images from a server and I would like to push updates images for future use. As far as I understand, currently the plugin will never try to reload an image unless the time limit was reached right?

Thanks!

Tyg-g commented 6 years ago

I'm also interested in similar functionality: resetting the last visited time of an URL without actually loading it. Maybe it would be good to somehow expose the underlying native module, then similar functions could be added with platform-dependent code.