API caching design: cache keys, TTL, invalidation, and protecting the origin during failures
Explain cache placement, keys, TTL, invalidation, and concurrent misses with Cache-Aside. Use Java to check expiry and capacity limits, and define how to protect the DB when the cache fails.
caching / cache-aside / ttl↗