Disabling Redis for Plugin (WP All Import) and for WP-Admin
-
I’m having problems with WP All Import.
I saw this in your FAQ:
wp_cache_add_non_persistent_groups( array( ‘bad-actor’ ) );
This declaration means use of wp_cache_set( ‘foo’, ‘bar’, ‘bad-actor’ ); and wp_cache_get( ‘foo’, ‘bad-actor’ ); will not use Redis, and instead fall back to WordPress’ default runtime object cache.Is it possible to have Redis Object Cache disabled for this plugin, so that it uses WordPress Object Cache instead?
Is it possible to have redis object cache disabled for WordPress backend only (Wp-admin)? I ask this because caching plugins like WP Fastest Cache don’t update the statistics well with Redis active.
Also, I tried shutting down redis server, then moving the object-cache.php file to another location, commented out the WP config settings and disabled the plugin, hopping that I would get back to the default WordPress object caching….but then I just get a blank page for every site page and for wp-admin. After bringing back the php file to the correct location all is ok again.
My WP config settings (commented out, values replaced with xyz for privacy reasons):
/* REDIS CACHE */
/**
*define( ‘WP_CACHE_KEY_SALT’, ‘XYZ’ );
*define(‘WP_CACHE’, true);
*$redis_server = array(
* ‘host’ => ‘XYZ’,
* ‘port’ => XYZ,
* ‘auth’ => ‘XYZ’,
*);
*/
- The topic ‘Disabling Redis for Plugin (WP All Import) and for WP-Admin’ is closed to new replies.