• Resolved jenkoanze

    (@jenkoanze)


    Hello,

    I’ve just installed fresh WP install, afterwards I:
    1. Installed LiteSpeed Cache plugin.
    2. Activated Object Cache using Redis and input correct settings (Redis is run on port and not via socket system).
    3. Enabled PHP “Redis” extention in cPanel > Select PHP Version.

    In LS Plugin Dashboard I can see that everything is ok:
    Redis Extension:?Enabled
    Connection Test:?Passed?Learn More

    When I visit the WP site in incognito, the data is not being saved in Redis Cache (SSH test below):
    # redis-cli keys “*”
    (empty list or set)


    If I enable debug mode in “.litespeed_conf.dat“, everything looks well (bellow some info from debug.log):
    08/07/24 14:00:24 – Init Redis connection
    08/07/24 14:00:24 – connecting to localhost:6379
    08/07/24 14:00:24 – Connected
    08/07/24 14:00:24 – Init Redis connection
    08/07/24 14:00:24 – connecting to localhost:6379
    08/07/24 14:00:24 – Connected

    So, to sum up, I use:
    1. VPS with cPanel / Cloudlinux / LiteSpeed Site Owner Plus license (although the later isn’t relevant to Redis Cache).
    2. Have localy installed Redis instance.
    3. Default WP (6.6.1 Core).
    4. LiteSpeed Cache plugin with default caching settings + Redis Object cache enabled in “Cache” settings.

    I’ve tried:
    1. Changing DB ID (13 -> 4),
    2. Changing PHP (8.2 -> 7.4),
    and then revisiting the page, but the problem is still there – data isn’t cached in Redis database.

    I then switched to Redis Object Cache plugin and it works perfectly.

    Would you be so kind and tell me what I’m doing wrong because I want to use LS Cache plugin for normal and object cache.

    Kind regards,
    Anze

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support qtwrk

    (@qtwrk)

    the PHP version should not be related

    did you actually set up DB ID ? I mean you have applied same ID in other redis cache plugin ?

    Thread Starter jenkoanze

    (@jenkoanze)

    Hello,

    firstly I used the default DB ID that LS Cache plugin offered – that didn’t work.

    Then I changed DB ID twice (-> 13 -> 4) to no avail.
    Tried the same with the aforementioned plugin: data was cached in all 3 cases (DB IDs).

    Kind regards,
    Anze

    Plugin Support qtwrk

    (@qtwrk)

    please create a ticket by mail to support at litespeedtech.com with reference link to this topic , we will investigate further.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.