The tag has no usage guidance.

learn more… | top users | synonyms

15
votes
2answers
1k views

Why does the API lack (proper) HTTP cache control headers?

I've just read Kevin's answer to Do I need API key to use StackAuth API? and been quite surprised that the API doesn't seem to facilitate proper HTTP caching already: You really shouldn't be ...
0
votes
1answer
69 views

Why does the /events service sometimes pause for a couple of minutes?

In developing the firehose service, I found that the /events API often "pauses" for a couple of minutes before resuming. Is this a known issue? Specifically, I am polling /events every 10 seconds ...
3
votes
0answers
20 views

Buggy HTTP header behavior with the `site` parameter. Improper caching?

In sx.el we are using url-request-extra-headers to pass API requests to Stack Exchange. When performing multiple queries in quick succession, we end up receiving the same JSON response even when the ...
2
votes
1answer
116 views

How to check if a given question is changed

What is the fastest way to check if a question is changed using the API calls? For my purpose (a cache), a question is considered changed if: A new comment is added to the question or to any of its ...
1
vote
1answer
61 views

last_activity_date meaning on /questions route

I would like to add a cache layer to my app for questions, answers and comments. The last_activity_date parameter on /questions route seems a valid candidate (probably the only way available) The help ...