{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Caching/issues/96","repository_url":"https://api.github.com/repos/aspnet/Caching","labels_url":"https://api.github.com/repos/aspnet/Caching/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Caching/issues/96/comments","events_url":"https://api.github.com/repos/aspnet/Caching/issues/96/events","html_url":"https://github.com/aspnet/Caching/issues/96","id":102020282,"number":96,"title":"How to flush all cache?","user":{"login":"PrimeObjects","id":3459952,"avatar_url":"https://avatars.githubusercontent.com/u/3459952?v=3","gravatar_id":"","url":"https://api.github.com/users/PrimeObjects","html_url":"https://github.com/PrimeObjects","followers_url":"https://api.github.com/users/PrimeObjects/followers","following_url":"https://api.github.com/users/PrimeObjects/following{/other_user}","gists_url":"https://api.github.com/users/PrimeObjects/gists{/gist_id}","starred_url":"https://api.github.com/users/PrimeObjects/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PrimeObjects/subscriptions","organizations_url":"https://api.github.com/users/PrimeObjects/orgs","repos_url":"https://api.github.com/users/PrimeObjects/repos","events_url":"https://api.github.com/users/PrimeObjects/events{/privacy}","received_events_url":"https://api.github.com/users/PrimeObjects/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Caching/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/aspnet/Caching/milestones/6","html_url":"https://github.com/aspnet/Caching/milestones/Backlog","labels_url":"https://api.github.com/repos/aspnet/Caching/milestones/6/labels","id":1011380,"number":6,"title":"Backlog","description":"","creator":{"login":"muratg","id":1808428,"avatar_url":"https://avatars.githubusercontent.com/u/1808428?v=3","gravatar_id":"","url":"https://api.github.com/users/muratg","html_url":"https://github.com/muratg","followers_url":"https://api.github.com/users/muratg/followers","following_url":"https://api.github.com/users/muratg/following{/other_user}","gists_url":"https://api.github.com/users/muratg/gists{/gist_id}","starred_url":"https://api.github.com/users/muratg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muratg/subscriptions","organizations_url":"https://api.github.com/users/muratg/orgs","repos_url":"https://api.github.com/users/muratg/repos","events_url":"https://api.github.com/users/muratg/events{/privacy}","received_events_url":"https://api.github.com/users/muratg/received_events","type":"User","site_admin":false},"open_issues":14,"closed_issues":0,"state":"open","created_at":"2015-03-08T18:57:15Z","updated_at":"2016-02-29T17:29:12Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-08-19T23:08:27Z","updated_at":"2016-04-06T13:13:41Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/aspnet/Caching/issues/comments/206363663","html_url":"https://github.com/aspnet/Caching/issues/96#issuecomment-206363663","issue_url":"https://api.github.com/repos/aspnet/Caching/issues/96","id":206363663,"user":{"login":"RehanSaeed","id":2270364,"avatar_url":"https://avatars.githubusercontent.com/u/2270364?v=3","gravatar_id":"","url":"https://api.github.com/users/RehanSaeed","html_url":"https://github.com/RehanSaeed","followers_url":"https://api.github.com/users/RehanSaeed/followers","following_url":"https://api.github.com/users/RehanSaeed/following{/other_user}","gists_url":"https://api.github.com/users/RehanSaeed/gists{/gist_id}","starred_url":"https://api.github.com/users/RehanSaeed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RehanSaeed/subscriptions","organizations_url":"https://api.github.com/users/RehanSaeed/orgs","repos_url":"https://api.github.com/users/RehanSaeed/repos","events_url":"https://api.github.com/users/RehanSaeed/events{/privacy}","received_events_url":"https://api.github.com/users/RehanSaeed/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T13:13:41Z","updated_at":"2016-04-06T13:13:41Z","body":"+1 to adding a `Clear()` method to `IMemoryCache and `IDistributedCache`.\r\n\r\nI now expose a cache clearing method in my controllers as a matter of course. This stops you having to use the nuclear option of restarting the site to clear `IMemoryCache` or having to go off to Redis to clear `IDistributedCache`."}}