Title: Display Flush Cache button in Admin Bar
Last modified: May 11, 2017

---

# Display Flush Cache button in Admin Bar

 *  Resolved [Matheus Bavaresco](https://wordpress.org/support/users/genneral/)
 * (@genneral)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/display-flush-cache-button-in-admin-bar/)
 * Hi for all!
 * Firstly, I wanted to thank you, because this plugin is incredible. I had a problem
   at startup by enabling it on 2 sites on the same server, where both have problems.
   I configured the “WP_CACHE_KEY_SALT” in wp-config and everything went well.
 * **The question: Is it possible to have a “Flush Cache” option available in wordpress
   adminbar? Do I need to always enter the Redis page to flush the cache?**
 * Thanks!!!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/display-flush-cache-button-in-admin-bar/#post-9121786)
 * Sure, you can add a button yourself using something like this
 *     ```
       add_action('admin_bar_menu', function custom_button_example($wp_admin_bar){
           $wp_admin_bar->add_node([...]);
       });
       ```
   
 * I won’t add this to the plugin, tho, because I hate all the clutter other plugins
   put into the toolbar.
 *  Thread Starter [Matheus Bavaresco](https://wordpress.org/support/users/genneral/)
 * (@genneral)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/display-flush-cache-button-in-admin-bar/#post-9122025)
 * Great!
 * Can you tell me if the plugin does the cache flush so it is published some new
   post or post update on the site (automatically)?
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/display-flush-cache-button-in-admin-bar/#post-9122218)
 * No this plugin doesn’t do anything, except provide a cache backend for WordPress
   and it’s WordPress itself that is responsible for flushing the cache.
 * Same for plugins and themes.
 * Sometimes the cache is out of date and you need to manually flush it, that 100%
   because the theme, plugin or WordPress itself isn’t managing it’s cached data
   properly.
 *  Thread Starter [Matheus Bavaresco](https://wordpress.org/support/users/genneral/)
 * (@genneral)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/display-flush-cache-button-in-admin-bar/#post-9122920)
 * Thanks bro!
 * I do this with another plugin: Nginx Helper on option Redis. I Use this plugin
   to flush and yours plugin to enable the cache in backend…especific Object Cache.
 * This is solved ;D
 *  [Hector](https://wordpress.org/support/users/hectorpn/)
 * (@hectorpn)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/display-flush-cache-button-in-admin-bar/#post-9127125)
 * Don’t want to hijack this thread but I think this question is relevant.
 * Does the FLUSH CACHE feature need the FLUSHDB function active? I disabled it 
   via redis.conf for security.
 * Thanks
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/display-flush-cache-button-in-admin-bar/#post-9127233)
 * It’s flushdb by default. Checkout the docs for more information.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Display Flush Cache button in Admin Bar’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

## Tags

 * [flush cache](https://wordpress.org/support/topic-tag/flush-cache/)

 * 6 replies
 * 3 participants
 * Last reply from: [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/display-flush-cache-button-in-admin-bar/#post-9127233)
 * Status: resolved