Storing Images Locally or Image Cache?

My app allows people to favorite images + title from a feed. Those favorites should be accessible when the user reopen the app.

What is the best way to store this data locally on the phone user?
Should I use LocalStorage or some kind of image caching, or both?

Cordially,

Hervé

1 Like

With Cordova-Phonegap You could use the File Plugin.

https://github.com/apache/cordova-plugin-file/blob/master/doc/index.md

After that it will be necessary to establish a strategy of pre-loaded images (CSS, Javascript, etc)

Regards
TCFreyre