Admin Columns and Redis cache

We will have to look into that, but just out of curiosity: why would you cache your wp-admin? I believe that is not very common to do.

I agree with you, but we do not have an option to not cache wp-admin stuffs using “Redis Object Cache” plugin. i will try to talk witht hem about what can be done about that.

We do have a hook that fires when our columns are stored. This hook can be used to flush the cache and for what I see is that Redis cache flushes the cache when the wp ‘wp_cache_flush’ function is used. The snippet can look something like this:

add_action( 'ac/columns_stored', function(){
	wp_cache_flush();
});

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer