×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Comment count not updated, until i clear the cache

Comment count not updated, until i clear the cache 9 years 5 months ago #31234

  • andre bloemenkamp
  • andre bloemenkamp's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0
I have added CComment to my page, but the comment count isn't updated, until i clear Joomla cache. First i thought it had something to do with the JCH Optimize extension, but after disabeling it, i still had the same issue.

Comment count not updated, until i clear the cache 9 years 5 months ago #31241

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Andre,
The count should be updated to the user immediatly after posting (on the article page - we update it with javascript, so that you immediatly have the feedback that your comment was posted).

But we can't do anything about the cache. We cannot delete a single item cache, we have to remove all the cache generated for all articles and if I do this then you are going to run into performance issues when users start posting all the time - you basically would end up without cache all the time.

So you'll have to live with a wrong comment count for 15mins untill you cache expires.

Regards,
Daniel
  • Page:
  • 1
Time to create page: 0.104 seconds