pressjitsu/pj-object-cache-red

How can I tell if is working?

Closed this issue · 5 comments

Hi -- I just replaced the redis-object cache in wordpress with pr-object-cache-red. I removed the plugin and put your object-cache.php in the wp-content directory. How will I know if it is working ? How will the cache be flushed -- if needed?

Thank you. -- Jack

You can enable the Debug Bar plugin and check the Object Cache stats.

wp cache flush via WP-CLI will let you flush your caches.

Hope this helps.

thank you, soulseekah: I installed debug_bar (and activated wp_debug in config) and I see error messages -- which is helpful but nothing regarding the cache -- is does that indicate that it is not working ?

As per https://wordpress.org/plugins/debug-bar/ you need to click on the Debug button at the top of your page and select Object Cache.

Unfortunately Object Cache does not appear on the left or elsewhere .. redis-server is running and I restarted it -- object-cache.php is in the wp-content directory with r only permissions and the server user www-data

Screen Shot 2020-10-23 at 10 22 14 AM

Thank you for the help -- i really would like the cache to be in operation. Running it on a buddyboss site with over 6000 users .. and the site is crawling .