{"action":"opened","issue":{"url":"https://api.github.com/repos/pluginkollektiv/cachify/issues/102","repository_url":"https://api.github.com/repos/pluginkollektiv/cachify","labels_url":"https://api.github.com/repos/pluginkollektiv/cachify/issues/102/labels{/name}","comments_url":"https://api.github.com/repos/pluginkollektiv/cachify/issues/102/comments","events_url":"https://api.github.com/repos/pluginkollektiv/cachify/issues/102/events","html_url":"https://github.com/pluginkollektiv/cachify/issues/102","id":232011868,"number":102,"title":"Cachify does not inform user that cache has been cleared when flushing cache from frontend","user":{"login":"chesio","id":2021167,"avatar_url":"https://avatars0.githubusercontent.com/u/2021167?v=3","gravatar_id":"","url":"https://api.github.com/users/chesio","html_url":"https://github.com/chesio","followers_url":"https://api.github.com/users/chesio/followers","following_url":"https://api.github.com/users/chesio/following{/other_user}","gists_url":"https://api.github.com/users/chesio/gists{/gist_id}","starred_url":"https://api.github.com/users/chesio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chesio/subscriptions","organizations_url":"https://api.github.com/users/chesio/orgs","repos_url":"https://api.github.com/users/chesio/repos","events_url":"https://api.github.com/users/chesio/events{/privacy}","received_events_url":"https://api.github.com/users/chesio/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-29T12:37:55Z","updated_at":"2017-05-29T12:37:55Z","closed_at":null,"body":"When user clicks on Cachify flush button in admin bar when viewing front-end page, cache is cleared and page reloads, but there is no indication of success or error, so to the user it seems as nothing has happened.\r\n\r\nPossible solutions (sorted by implementation complexity):\r\n1. Do not show flush button in admin bar, when viewing non-admin page.\r\n1. Redirect to Dashboard page in admin and show a notice there using admin notices mechanism like it is currently done for admin pages.\r\n1. AJAX-ify cache flushing action and show any notice within the current page.\r\n\r\nThe AJAX-based solution would be the best in my opinion. Cache flushing in [Autoptimize](https://github.com/futtta/autoptimize/) plugin works this way and it seems more UX friendly to me. Also, it would inherently fix #100."}}
{"actor":{"display_login":"chesio"}}