Compare a browser max-age with a separate shared-cache s-maxage. This small calculator is intentionally explicit about which lifetime and age it is using.
Freshness calculation
Policy questions
Educational calculation: this subtracts the supplied age from each supplied lifetime. It omits clock skew, response age calculations, revalidation, stale extensions, browser history/bfcache, service workers, cache partitioning, provider defaults, and hidden cache-key inputs. It is a teaching aid and policy prompt—not a security boundary, proof of storage/reuse, or vendor-specific configuration advice.