I’m making a APP that get a list from Rest API and download the images from URL.
This images are cached on brower (path in chrome: Resource/localhost/images).
I want to clear this images when I get out app or clear oldest images.
How can I do this?
if you call images from an api --> the api should send you the timestamp they are created.
so you can add this timestamp to the image url --> if someone uploads a new image you get a new timestamp and a new url.
so you get a unique url for one image.