Plugin Support
qtwrk
(@qtwrk)
Hi,
You mean when you enabled object cache in LSCWP, you want to verify if it’s actually working ?
Best regards,
Thread Starter
m1000
(@m1000)
Yes, I would like to see what content actually is in the redis bufor.
Plugin Support
qtwrk
(@qtwrk)
Hi,
LSCWP will output how many object it hits , you can enable debug log to your IP , and then view the source code
please check this wiki https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:configuration:cache:object_cache
on section “how to verify”
but if you want to see what keys/values are stored, please check WP codex for detail.
https://codex.wordpress.org/Class_Reference/WP_Object_Cache
Best regards,
Thread Starter
m1000
(@m1000)
I setup
define( 'WP_DEBUG', true );
but there is no any
<!-- Object Cache .... -->
in page source
Plugin Support
qtwrk
(@qtwrk)
Hi,
Please verify that your redis is connected
you can use redis-cli command , once you connected , use “info” to get the redis info
Best regards,
Thread Starter
m1000
(@m1000)
I’m no shared hosting. Your pplugin says:
Redis Extension: Enabled
Connection Test: Passed Learn More
Plugin Support
qtwrk
(@qtwrk)
Hi,
No , it’s not WP debug I am talking about , it’s plugin’s debug , please check the wiki I provided early.
Best regards,
Thread Starter
m1000
(@m1000)
OK, I installed this plugin – https://wordpress.org/plugins/debug-bar/
Setup following settings:
define( ‘WP_DEBUG’, true );
define( ‘SAVEQUERIES’, true );
I don’t see any cached objects – https://i.imgur.com/fnE1FKJ.png
Plugin Support
qtwrk
(@qtwrk)
Hi,
Please go to this page
set debug log to “admin IP only” , and add your IP in Admin IPs box.
set debug level to advanced.
save the change
purge all
go to home page again , check the source code.
you should see <!– Object Cache > now.
Best regards,
-
This reply was modified 5 years, 4 months ago by
qtwrk.