Hi Asif,
Echo mode in a simple form will not help you. In your case, you need a more complex logic. Your application must contain a caching mechanism that controls the lifetime of the cache (it may become out of date) and checking whether requested data corresponds to the existing cache data.
In the context of REST-services, it is not a trivial task.
Before invoking service, you need to check whether there is a service response in localStorage. As well, the answer should be fairly fresh (you have to define yourself the cache lifetime based on your app context), which means that you need to save to localStorage not only the service response, but the date-time of saving and the cache lifetime. It's necessary to take into account the changing parameters of the request. That is, if the query parameters have been changed (for example, value of one of the localStorage variables involved in the request was changed), then you need to make this request and cache its response for the next time.