Technical / API
Caching
Temporarily storing a copy of frequently requested data so future requests are served faster without hitting the source system again.
In simple terms
Caching is a sticky note with the answer already written down, so you don't have to look it up every single time.
Real-world example
A hotel search platform caches popular destination searches for a few minutes to reduce load on the supplier API.
Why it matters
Caching cuts latency and API costs dramatically, but stale cached data can cause price or availability mismatches if handled poorly.
Common mistake
Caching fast-moving data like live availability for too long, leading to 'sold out' errors at checkout.
Interview question
How would you decide what travel data is safe to cache, and for how long?
Related terms
CDNAPI PerformanceLatency
