• 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

    (@tillkruess)

    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

    (@genneral)

    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

    (@tillkruess)

    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

    (@genneral)

    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

    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

    (@tillkruess)

    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.