I'm currently building an application with which you can create playlists of song lyrics and cache them for use offline. You can also cache your favorites (JSON array).
Now, because the favorites are cached - the add favorite
button doesn't work in the client side. Yes, it does save the favorite on the server side, but there are no changes in the client side.
What would you suggest me to do in order to fix this issue? Is re:downloading the cache on every single add favorite
click the only thing I can do, or perhaps there's another way how I could resolve this?
Please note that I do know how to update the cache. I'm just wondering if there's a better way how to fix this problem.
Thanks!