I just migrated my server project from Parse to Backendless. Caching data on clients was very convenient with Parse, but with Backendless it seems as if there is no API for this use case. The Backendless caching API is just to cache data on the server, not on the client, right?
Now I am looking for a smart solution to cache the data for some hours on the client. Of course I could use a SQLite database for this, but this would mean a lot more effort compared to the solution Parse SDK is offering. I was wondering if other people faced the same problem before and maybe found a nice library for this, or just had a smart idea how to do this.
I use Backendless standalone and the data I want to cache is just a list of data objects, consisting of Strings and ints
Yes, Backendless Cache API lets you cache data on the server.
Using SQLLite should not be “a lot more effort”. Of course, anything where you have to write some code vs using built-in API would be “more effort”, but I cannot see how that would be hard especially if you need to persist strings and ints.
Have you tried server-side caching? What’s the reason that would not work for you?
Mark
Of course this is more effort, as I have to use another component/lib. That does not mean an extra day of work, but at least an hours or so.
I just want to make some of the data available when the user is offline and also I don’t want to cause too many requests when the user browses through the app.
I understand. At the present moment, we do not provide an out-of-the-box local caching, however, it is on our roadmap.
Regards,
Mark