Need help to get object cache working
-
Hello All. I’m trying to resolve the health check message: “you should use a persistent object cache”.
I have the following installed and/or enabled:
> Redis (in my Doteasy hosting server cPanel settings)
> LightSpeed Object Cache plugin.In lightspeed > (6)Object panel, under Object Cache, I see the message: CONNECTION TEST: FAILED.
I was using settings: Host: 127.0.0.1 and Port: 50109.
Following a Google AI thread I started, it recommended I change the settings to:
Host: /tmp/redis.soc and Port: 0.
but the test still fails. I tried both refreshing the page, and turning OFF the Cache. I tried turning it off and reloading, then turning it back on and reloading. But the Connection test status doesn’t change (it remains at “Failed”.
I clicked the “Learn More” button, but that gives me code that I have no clue of how to impliment.I setup the WordPress site in 2023 and installed LightSpeed a few months later in 2024. So it’s been installed for a while, and I was getting good health tests. But then I started getting this ‘persistent; persistent object cache message that I can’t seem to resolve.
Questions:
1) I also see ‘memcache’ and ‘memcached’ in my Doteasy cPanel. Should I also enable these? In LightSpeed it looks like it’s an either or option. They have (Redis or Memcached)
2) If the new Host/Port settings I used are incorrect, what should I be using? If I understand it correctly I should be using the 127.0.0.1 settings because it’s using the same server that’s hosting my wordpress files. But it doesn’t work. Doteasy is hosting my site on a Linux server, so the Port 0 should be correct.
3) So anyone know what else I should ge looking at to get this thing working?
4) Would a different Object Cache plugin work better (such as Redis?) I’m not partial to LightSpeed, I just want something that works.Thanks…JEB
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.