• Resolved longnha

    (@longnha)


    When enabled object caching in Litespeed cache, the counts for comment on posts are display incorrect, happens for both Redis and memcached.

    When using another Object cache plugin such as Redis Object cache, I don’t see such issue.

    When enable Cache Wp-Admin, the counts in /wp-admin/edit-comments.php is incorrect too.

    When delete all object cache, the first load on /wp-admin/edit-comments.php counts are display correctly, when refresh again it has issue.

    Do Not Cache Groups:

    usermeta
    user_meta
    comment
    count
    counts
    plugins
    wc_session_id
    comment_counts
    comment_meta

    I hope it gives more info on the issue to troubleshoot, thank you.

    Last Report Number: LWIXHDIB

    Last Report Date: 09/25/2025 11:08:27

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

    (@qtwrk)

    please try set cache wp-admin to off , purge all , see how it goes

    Thread Starter longnha

    (@longnha)

    I did set cache wp-admin off to test, without Litespeed Object cache there is no such issue.

    Even after flush all, it still get stale object. I was wondering if Litespeed object cache getting the data from another cache layer? Because the count in database is correct!

    Plugin Support litetim

    (@litetim)

    @longnha
    I did a test by adding comment from a post page and the caount was correct.
    I tested with different ObjectCache and was working as expected.

    I see you have CF active
    We are not using another layer or cache.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Comment count incorrect when enabled Object Cache’ is closed to new replies.