Category post_count not incrementing

When pulling the categories.json, I notice that the topic_count value increases as topics are added, but post_count doesn’t seem to increase.
If I pull c/{slug}/{id}.json to list the topics in the category, the posts_count for the individual topics is updating correctly, and the About web page shows the expected number of new daily posts.
It’s just on the categories API that doesn’t seem to be reflecting the correct post count. Is this a known issue? Does the category post count only update periodically with a back end data rollup? Is there somewhere else I should be going to check category post counts?

1 Like

This certainly sounds like a possible edge case in our API. We have many layers of cache and possibly this is one cache that we are not updating right away.

Putting a #pr-welcome on this in case someone from the community would like to try fixing.

1 Like