Closed MatzeKitt closed 1 year ago
@MatzeKitt: It is not great. If we'd essentially reload the current page, then how/where would you display the "cache was flushed" message?
Maybe replace the link with an Ajax functionality and then use JavaScript to properly display this information.
AJAX and then the user reloads manually, or AJAX + auto reload and display a message?
If you clear the cache via Ajax, there is no need to reload the page. Just flush, reset the statistics in the admin bar and display a message.
Sounds like a good idea. It's pretty low on my priority list. Do you want to open a PR for this?
Unfortunately, Iโm currently unable to do that. And itโs also pretty low on my priority list. It was just something I quickly noticed that can be improved. ๐
We'll keep this open ๐
See #466.
Currently, if you flush the cache in the admin bar from whatever page, you will be redirected to the settings page of the Redis cache. At least on multisites. I think this is a bad user experience, since there is no indication that you will be redirected to said page nor can it be argued as intended, since there is a dedicated settings link below.