Questions tagged [caching]

For questions about caching results of API calls and / or how caching affects user scripts when used on the Stack Exchange sites.

Filter by
Sorted by
Tagged with
16 votes
2 answers
2k 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 ...
Steffen Opel's user avatar
  • 1,380
3 votes
1 answer
129 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 ...
systempuntoout's user avatar
1 vote
1 answer
73 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 ...
systempuntoout's user avatar