I would like to cache image in react.
<img src='www.myimage/dog.png' />
Every time I load page, dog.png is downloaded from page. I would like to store it in browser with some ttl.
Should I use localStorage, sessionStorage, indexedDb or what is the best place to store and why?
Thank you!
