{"action":"created","issue":{"url":"https://api.github.com/repos/BobRay/CacheMaster/issues/5","repository_url":"https://api.github.com/repos/BobRay/CacheMaster","labels_url":"https://api.github.com/repos/BobRay/CacheMaster/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/BobRay/CacheMaster/issues/5/comments","events_url":"https://api.github.com/repos/BobRay/CacheMaster/issues/5/events","html_url":"https://github.com/BobRay/CacheMaster/issues/5","id":98949264,"number":5,"title":"Feature request: Clear parents on doc save and per context","user":{"login":"mdehaan","id":581336,"avatar_url":"https://avatars1.githubusercontent.com/u/581336?v=3","gravatar_id":"","url":"https://api.github.com/users/mdehaan","html_url":"https://github.com/mdehaan","followers_url":"https://api.github.com/users/mdehaan/followers","following_url":"https://api.github.com/users/mdehaan/following{/other_user}","gists_url":"https://api.github.com/users/mdehaan/gists{/gist_id}","starred_url":"https://api.github.com/users/mdehaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdehaan/subscriptions","organizations_url":"https://api.github.com/users/mdehaan/orgs","repos_url":"https://api.github.com/users/mdehaan/repos","events_url":"https://api.github.com/users/mdehaan/events{/privacy}","received_events_url":"https://api.github.com/users/mdehaan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2015-08-04T11:44:05Z","updated_at":"2017-06-26T02:26:27Z","closed_at":null,"body":"Hi BobRay,\n\n1: I think it would be nice to have an option to clear the cache of all parents on saving a child document up to the highest parent under the root/context. \n\nFor example: When I change/add a child resource to an overview/catelog then I now also have to save the overview/catelog resource to clear it's cache so that the changes will be visible on the frontend.\n\n2: And would be clearing only the cache of the current context also be a nice feature?\nMy previous forum topic http://forums.modx.com/thread/96097/empty-cache-per-context-on-resource-save?page=2#dis-post-529055 (sorry BobRay, I haven't had time to test your snippet).\n\nKind regards,\n\nMarten\n"},"comment":{"url":"https://api.github.com/repos/BobRay/CacheMaster/issues/comments/310949136","html_url":"https://github.com/BobRay/CacheMaster/issues/5#issuecomment-310949136","issue_url":"https://api.github.com/repos/BobRay/CacheMaster/issues/5","id":310949136,"user":{"login":"BobRay","id":335010,"avatar_url":"https://avatars3.githubusercontent.com/u/335010?v=3","gravatar_id":"","url":"https://api.github.com/users/BobRay","html_url":"https://github.com/BobRay","followers_url":"https://api.github.com/users/BobRay/followers","following_url":"https://api.github.com/users/BobRay/following{/other_user}","gists_url":"https://api.github.com/users/BobRay/gists{/gist_id}","starred_url":"https://api.github.com/users/BobRay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BobRay/subscriptions","organizations_url":"https://api.github.com/users/BobRay/orgs","repos_url":"https://api.github.com/users/BobRay/repos","events_url":"https://api.github.com/users/BobRay/events{/privacy}","received_events_url":"https://api.github.com/users/BobRay/received_events","type":"User","site_admin":false},"created_at":"2017-06-26T02:26:27Z","updated_at":"2017-06-26T02:26:27Z","body":"Sorry about missing this. I'm not sure I see how clearing the ancestors's caches would be useful. \r\n\r\nClearing a context could be a useful feature, but I'm not sure if it's feasible. I'll look at doing that."}}
{"actor":{"display_login":"BobRay"}}