speedruncomorg / api

REST API Documentation for speedrun.com
346 stars 36 forks source link

Public sessions hit a cache, providing potentially stale data #166

Open ManicJamie opened 1 year ago

ManicJamie commented 1 year ago

Sessions without a X-API-KEY header or PHPSESSID cookie will hit a cache that lasts 15 minutes. This is not documented anywhere I can see, and really should be for the sake of applications that rely on up-to-date public data to ensure they know to set one of these headers.