Update the data on page after every 15 / 20 mins
Created by: chinmaydalvi
Description If you kept the page open for a long time it doesn't update the page automatically. For example Currently, when you load the page first time it fetches the latest updated data and shows last updated is 10 min ago Now when you keep the tab open for a long time or minimize the browser (In case of the mobile device) and back again after 2 hours it still shows Last updated 10 min ago and data is not updated and this creates confusion to the user. therefore the user needs to reload the page manually.
Solution After reloading the page hit the API to fetch the data after every 15 to 20 mins (any suggestion on time intervals are welcome) and according to that update the page. So that it keeps the page updated, as well as the user need not reload the page manually.