Skip to content

Caching & Performance

Caching return_tours Data

  • Cache tour catalog data weekly (product metadata changes infrequently)
  • Refresh cached data on the checkout screen to ensure current pricing
  • Always call /return_availability in real-time (do not cache availability data)

Rate Limiting

  • Implement exponential backoff when approaching daily limits
  • For bulk operations, add delays between requests to avoid rate limiting
  • Monitor for 429 (Too Many Requests) responses and pause operations accordingly

For detailed rate limiting strategies, see Rate Limits.