About
The TTL 1) is the maximum timespan of data in a cache. Once the timespan has elapsed, data is discarded or revalidated.
Example
- A DNS record has a TTL attached
- A HTTP cache with the max-age and s-max-age property of the cache-control header
Example of TTL time
Second | Human | Example |
---|---|---|
300 | 5 mins | default DNS |
3600 | 1 hour | |
7200 | 2 hour | google analytics (analytics.js) |
21600 | 6 hour | |
43200 | 12 hour | |
86400 | 24 hour | |
172800 | 2 days | cloudflare-static (email-decode.min.js) |