6

Looking at the sidebar in this meta question, the post Stepping down as Moderator is listed twice - once in the "linked" section, and once in the "related section". However, the scores displayed on the links are different. As of this moment, the post has 14 upvotes and no downvotes.

Is this just a caching issue? If so, why is only one section cached, but not the other?

wrong scores

2
  • They're both 14 for me... Maybe a caching issue that is not an issue any more?
    – Catija
    Commented Oct 2, 2015 at 16:00
  • 1
    This site might help you; Should I blame caching?
    – Valorum
    Commented Oct 2, 2015 at 16:46

1 Answer 1

4

Yes, the contents of both sidebars are cached. Looking at the current code, the Linked sidebar is cached for 5 minutes, and the Related sidebar is cached for 1 hour.

The entire HTML content of the sidebar is what's cached, not the question IDs or what not. So the scores for the questions won't be updated live.

1
  • 4
    It might be "by design" for a developer but for a user it is a bug. I think it should be fixed; eg cache both for one hour. Commented Oct 8, 2015 at 8:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .