added caching to http.get request