SiteSwapDevelopers
Principles

Caching

Answers are fresh on every call; keep your own copy.

Every answer carries Cache-Control: private, no-store: it is read from the database for that call and may hold what only your company sees. Nothing in between may keep it.

  • Keep your own copy of what you read often, such as categories and their questions (GET /catalog/categories/{id}). They change rarely.
  • Listings change all the time. Page through a search when you need it, rather than polling one listing after another.
  • The OpenAPI spec may be kept for 5 minutes.
SiteSwap API v1Support