Title: Comment count incorrect when enabled Object Cache
Last modified: September 25, 2025

---

# Comment count incorrect when enabled Object Cache

 *  Resolved [longnha](https://wordpress.org/support/users/longnha/)
 * (@longnha)
 * [8 months ago](https://wordpress.org/support/topic/comment-count-incorrect-when-enabled-object-cache/)
 * 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_metacommentcountcountspluginswc_session_idcomment_countscomment_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](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [8 months ago](https://wordpress.org/support/topic/comment-count-incorrect-when-enabled-object-cache/#post-18656945)
 * please try set `cache wp-admin` to off , purge all , see how it goes
 *  Thread Starter [longnha](https://wordpress.org/support/users/longnha/)
 * (@longnha)
 * [8 months ago](https://wordpress.org/support/topic/comment-count-incorrect-when-enabled-object-cache/#post-18657159)
 * 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](https://wordpress.org/support/users/litetim/)
 * (@litetim)
 * [8 months ago](https://wordpress.org/support/topic/comment-count-incorrect-when-enabled-object-cache/#post-18658372)
 * [@longnha](https://wordpress.org/support/users/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 activeWe 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.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [litetim](https://wordpress.org/support/users/litetim/)
 * Last activity: [8 months ago](https://wordpress.org/support/topic/comment-count-incorrect-when-enabled-object-cache/#post-18658372)
 * Status: resolved