I am going to store data on the client and synchronize them with the server database.
At the client side, I am familiar with application cache and cache storage.
How can I use application cache or cache storage for caching and synchronization?(each of them)