HTTP Cache Freshness and Storage Eligibility
Check current age, explicit freshness lifetime, storage eligibility and reuse restrictions for a complete GET response
Use UTC throughout. Enter Date and Expires as HTTP-date values or ISO UTC timestamps including seconds. Unspecified expiry is not inferred.
Results
—s
—
—
- Reuse without validation
- —
- Freshness source used
- —
- Freshness lifetime (freshness_lifetime)
- —s
- Freshness remaining (negative means expired)
- —s
- Apparent age (apparent_age)
- —s
- Request-to-response delay (response_delay)
- —s
- Corrected Age (corrected_age_value)
- —s
- Initial age (corrected_initial_age)
- —s
- Time since storage (resident_time)
- —s
Results update automatically when the required values are entered.
Method, applicability and sources
Calculation method
apparent_age = max(0, response_time − Date); response_delay = response_time − request_time; corrected_age_value = Age + response_delay; corrected_initial_age = max(apparent_age, corrected_age_value); resident_time = now − response_time; current_age = corrected_initial_age + resident_time. Select freshness_lifetime in this order: s-maxage for shared caches, then max-age, then Expires − Date. A response is fresh only when freshness_lifetime > current_age. Response no-cache requires revalidation rather than prohibiting storage; no-store prohibits storage.
Worked example (hypothetical values)
Synthetic example: Date=1970-01-01T00:00:00Z, request_time=00:00:25Z, response_time=00:00:30Z, Age=20 s and now=00:00:40Z give apparent_age=30 s, corrected_age_value=25 s, corrected_initial_age=30 s, resident_time=10 s and current_age=40 s. With max-age=60 the response is fresh; with max-age=40 it is stale.
Applicability and limitations
Complete GET responses with status 200/301/302/404/500 considered in a single shared or private cache, using UTC timestamps precise to the second. Excludes 206/304, methods other than GET, partial content, Vary matching and cache keys, heuristic freshness, unknown extension directives, ETag/304 revalidation outcomes, client no-cache/max-age/min-fresh, and stale serving under RFC 5861.
Method and sources
Method: RFC 9111 (June 2022) §3/§3.5/§4.2/§5.2.2; RFC 9110 §15.1; checked 2026-11-14. Data recorded: 2026-11-14.