{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/relay/issues/233","labels_url":"https://api.github.com/repos/facebook/relay/issues/233/labels{/name}","comments_url":"https://api.github.com/repos/facebook/relay/issues/233/comments","events_url":"https://api.github.com/repos/facebook/relay/issues/233/events","html_url":"https://github.com/facebook/relay/issues/233","id":104734352,"number":233,"title":"Implement RelayStore.reset()","user":{"login":"wincent","id":7074,"avatar_url":"https://avatars.githubusercontent.com/u/7074?v=3","gravatar_id":"","url":"https://api.github.com/users/wincent","html_url":"https://github.com/wincent","followers_url":"https://api.github.com/users/wincent/followers","following_url":"https://api.github.com/users/wincent/following{/other_user}","gists_url":"https://api.github.com/users/wincent/gists{/gist_id}","starred_url":"https://api.github.com/users/wincent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wincent/subscriptions","organizations_url":"https://api.github.com/users/wincent/orgs","repos_url":"https://api.github.com/users/wincent/repos","events_url":"https://api.github.com/users/wincent/events{/privacy}","received_events_url":"https://api.github.com/users/wincent/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/relay/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/facebook/relay/labels/help%20wanted","name":"help wanted","color":"159818"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-09-03T16:28:32Z","updated_at":"2015-11-13T23:31:33Z","closed_at":null,"body":"The motivating use case here is clearing the cache on logout.\r\n\r\nWe already have an internal task for this (t6995165) but I'm creating this issue for external visibility.\r\n\r\nFor now, the workaround is to do a full page refresh on logout."},"comment":{"url":"https://api.github.com/repos/facebook/relay/issues/comments/156589946","html_url":"https://github.com/facebook/relay/issues/233#issuecomment-156589946","issue_url":"https://api.github.com/repos/facebook/relay/issues/233","id":156589946,"user":{"login":"josephsavona","id":6425824,"avatar_url":"https://avatars.githubusercontent.com/u/6425824?v=3","gravatar_id":"","url":"https://api.github.com/users/josephsavona","html_url":"https://github.com/josephsavona","followers_url":"https://api.github.com/users/josephsavona/followers","following_url":"https://api.github.com/users/josephsavona/following{/other_user}","gists_url":"https://api.github.com/users/josephsavona/gists{/gist_id}","starred_url":"https://api.github.com/users/josephsavona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josephsavona/subscriptions","organizations_url":"https://api.github.com/users/josephsavona/orgs","repos_url":"https://api.github.com/users/josephsavona/repos","events_url":"https://api.github.com/users/josephsavona/events{/privacy}","received_events_url":"https://api.github.com/users/josephsavona/received_events","type":"User","site_admin":false},"created_at":"2015-11-13T23:31:33Z","updated_at":"2015-11-13T23:31:33Z","body":"> Could expiration exist outside of core?\r\n\r\nGood question. It isn't possible today without hijacking some internal methods. It could be an interesting experiment to try building it and see what hooks you need. Again though, the main consideration is perf."}}