{"action":"closed","issue":{"url":"https://api.github.com/repos/global-electrification-platform/data-service/issues/51","repository_url":"https://api.github.com/repos/global-electrification-platform/data-service","labels_url":"https://api.github.com/repos/global-electrification-platform/data-service/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/global-electrification-platform/data-service/issues/51/comments","events_url":"https://api.github.com/repos/global-electrification-platform/data-service/issues/51/events","html_url":"https://github.com/global-electrification-platform/data-service/issues/51","id":442301557,"node_id":"MDU6SXNzdWU0NDIzMDE1NTc=","number":51,"title":"Implement cache strategy","user":{"login":"vgeorge","id":329694,"node_id":"MDQ6VXNlcjMyOTY5NA==","avatar_url":"https://avatars3.githubusercontent.com/u/329694?v=4","gravatar_id":"","url":"https://api.github.com/users/vgeorge","html_url":"https://github.com/vgeorge","followers_url":"https://api.github.com/users/vgeorge/followers","following_url":"https://api.github.com/users/vgeorge/following{/other_user}","gists_url":"https://api.github.com/users/vgeorge/gists{/gist_id}","starred_url":"https://api.github.com/users/vgeorge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vgeorge/subscriptions","organizations_url":"https://api.github.com/users/vgeorge/orgs","repos_url":"https://api.github.com/users/vgeorge/repos","events_url":"https://api.github.com/users/vgeorge/events{/privacy}","received_events_url":"https://api.github.com/users/vgeorge/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-05-09T15:37:34Z","updated_at":"2019-05-31T10:50:00Z","closed_at":"2019-05-31T10:50:00Z","author_association":"CONTRIBUTOR","body":"Large scenarios are taking 30-40s to be loaded and served by the data service in production. Implementing a cache will help improve response times for scenarios that have already been accessed at least once.\r\n\r\nIt looks like we could use the Hapi cache adapter. It supports Redis, but given that each response is approximately 1.7 MB, it may make sense to use memory storage and avoid adding a new dependency to the platform.\r\n\r\nhttps://hapijs.com/tutorials/caching"}}
{"actor":{"display_login":"vgeorge"}}