I am getting the contacts using Google API when user log in with Gmail and want to store in memory cache not on my server cache. I used node-cache module for storing data and it is working fine, but whenever I restart my server, I lost my data.
Please give me some suggestion to save my data and get it whenever I want.