When using the /info page on the API, the total_questions value is higher than the amount of questions on the homepage. For example, Programming Puzzles and Code Golf's /info page is:


And it says the total questions amount is 2785. But the homepage says it's 2772 questions:

Code Golf questions

Is this a bug, or is this by design and are there some questions included in the API which are not included on the homepage?

  • Removed questions? may be. Just a thought. Commented Dec 18, 2014 at 6:59
  • 1
    @MagicalPhoenixĻ” That was my initial thought too, but for Meta Programming Puzzles & Code Golf, the API returns the same number as the homepage, and there certainly deleted questions on Meta PPCG.
    – ProgramFOX
    Commented Dec 18, 2014 at 7:12
  • Have you tried a hard refresh to rule out browser caching?
    – Sam Berry
    Commented Dec 18, 2014 at 7:23
  • @SamB. Hard-refreshing didn't change something.
    – ProgramFOX
    Commented Dec 18, 2014 at 7:24
  • @ProgramFOX interesting, curious to see the answer.
    – Sam Berry
    Commented Dec 18, 2014 at 7:26
  • 2
    I'd almost bet sever-side caching. There are elements on the front page that are heavily cached for performance reasons. The number of questions, since it is not a critical number for users, probably does not get updated often. Commented Dec 18, 2014 at 9:02


You must log in to answer this question.

Browse other questions tagged .