Start here. This is the direct spoken answer to practice first.
Why this question matters
TTL looks simple, but it encodes product freshness and system load. It connects caching mechanics to real user behavior.
I would choose a TTL based on how stale the data is allowed to be and how expensive it is to reload. Data that changes rarely and is not safety-critical can have a longer TTL. Data that changes often or affects permissions, money, inventory, or availability needs a short TTL, explicit invalidation, or no cache at all.