{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/Caching/issues/231","repository_url":"https://api.github.com/repos/aspnet/Caching","labels_url":"https://api.github.com/repos/aspnet/Caching/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Caching/issues/231/comments","events_url":"https://api.github.com/repos/aspnet/Caching/issues/231/events","html_url":"https://github.com/aspnet/Caching/issues/231","id":176970116,"number":231,"title":"Memory Cache file system dependency example","user":{"login":"pholly","id":3717650,"avatar_url":"https://avatars.githubusercontent.com/u/3717650?v=3","gravatar_id":"","url":"https://api.github.com/users/pholly","html_url":"https://github.com/pholly","followers_url":"https://api.github.com/users/pholly/followers","following_url":"https://api.github.com/users/pholly/following{/other_user}","gists_url":"https://api.github.com/users/pholly/gists{/gist_id}","starred_url":"https://api.github.com/users/pholly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pholly/subscriptions","organizations_url":"https://api.github.com/users/pholly/orgs","repos_url":"https://api.github.com/users/pholly/repos","events_url":"https://api.github.com/users/pholly/events{/privacy}","received_events_url":"https://api.github.com/users/pholly/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-14T17:29:47Z","updated_at":"2016-09-14T17:29:47Z","closed_at":null,"body":"The asp.net docs state:\r\n\r\n> You can configure cache entries to depend on other cache entries, the file system, or programmatic tokens, evicting the entry in response to changes.\r\n\r\nI assume cache entries can depend on file system changes by using `ChangeToken`s. I searched and found that `Microsoft.Extensions.FileProviders.Physical.FileSystemProvider` has a `Watch` function that returns an `IChangeToken`. Is that what we're supposed to use? Can someone provide an example on how to make a cache entry depend on a file on the filesystem?"}}
{"actor":{"display_login":"pholly"}}