In What Other Circumstances Is TTL Used?
Apart from tracking the path that packets take across the Internet,
Time To Live is used in the context of caching information for a specific period of time.
Rather than measuring time in hops between routers,
each of which can take a variable amount of time,
some networking use cases operate in a more conventional manner.
CDNs such as a private CDN network typically use a Time To Live (TTL) to determine how long cached content should be served from a CDN edge server before fetching a fresh copy from an origin server.
By properly defining the amount of time between origin server pulls,
a CDN is able to serve up-to-date content without constantly repeating requests to the origin.
This optimization allows a CDN to efficiently serve content closer to the user while minimizing the bandwidth required from the origin.
In the context of a DNS record, TTL is a numerical value that defines how long a DNS caching server can serve a DNS record before reaching out to the authoritative DNS server and obtaining a fresh copy of the record.