Open jose920405 opened 6 years ago
Im not sure why you want to do it cause this image parameters actually change the content and it's a different image and should be cached. It's easy to make a PR that you could provide cache key instead of url, but is it something you want really do? With so many parameters mixed cache key logic may be tricky.
When the parameters of the url change, it does not create a new image, it only applies filters to the same image, for that reason I do not want to cache it again, I would just like to update the caching that already exists
Hello, in advance thank you very much for the module, has been very useful.
I have a problem with some images with cloudinary urls. In my project that url can be customized as you can see in this link.
When I change this url depending on many factors, such as the quality of the internet connection and later use:
what I think is that it is caching. And if for some reason modify the url and reload it in the same way, I would be caching again a new url for the same image.
This causes an image to be cached as many times as the url is changed.
I would like to know if it is possible to define the name I want to store the reference to an image (For example:
id
orproductId
)My current Versión.
"react-native-cached-image": "^1.4.3",
react-native info