Take the 2-minute tour ×
Stack Apps is a question and answer site for apps, scripts, and development with the Stack Exchange API. It's 100% free, no registration required.

I understand that the data sourced to the API are cached, but I'm seeing some fairly extreme discrepancies between reputation reported by the API and apparent activity on the site.

For example:

Jon Skeet's last answer has five upvotes and was accepted, so the total rep should be 65. The question was asked three hours ago at the time of this posting, and Jon's answer came immediately after. Jon's rep reported for that answer at this time, by the API, is still only 15.

How often is the cache used by the API updated?

share|improve this question
add comment

2 Answers 2

up vote 4 down vote accepted

There is a pretty good chance the Jon has hit the cap today. So he only got rep for the accept.

The data is real time, so it is actually cached less than the website.

share|improve this answer
    
DUHH... facepalm/headsmack... I need to find a guinea pig that has non-exponential rep earning potential! So rep for accepts are not controlled by the cap? –  Dave Swersky Jul 2 '10 at 20:18
    
@Dave Nope, you will always get 15 points from an accept vote. No matter how much rep you have already gotten that day. –  jjnguy Jul 2 '10 at 20:19
    
@dave facepalm/headsmack == PWOP! –  Sky Sanders Jul 2 '10 at 20:48
add comment

Question and answer data is almost instantaneous.

I regularly see Questions with soapi-notify that are 7 seconds old.

Answers take a few more seconds.

Votes and acceptance sometimes take 30 seconds to a minute to register. Hard to be exact unless I am polling at a rate that may draw unwanted attention.

So yeah, there is some latency but nothing more than a minute or two worst case.

share|improve this answer
add comment

You must log in to answer this question.

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