Suggestion: Disable object cache from wp-config
-
I have two installations using same wp-content, like multisite, but isn’t. Such is supported by WordPress. If object cache is enabled, the secondary site becomes inaccessible (redirects to main site) even with LScache deactivated. If I turn off object cache on main site, everything is ok, but I would like to use it.
I tried both
const WP_CACHE = false;
and
const LSCWP_OBJECT_CACHE = false;
but none worked.I then modified object-cache.php line 40:
if ( LSCWP_OBJECT_CACHE && file_exists( $lib_file ) ) {
and it now works. This constant is always set to true at top of the file, unless already defined.Could this be implemented, please? Let me disable object cache from wp-config, even if object-cache.php exists.
- The topic ‘Suggestion: Disable object cache from wp-config’ is closed to new replies.