HomeDeveloper toolsHTTP Cache Freshness Calculator

HTTP Cache Freshness Calculator

Calculate a simplified private-cache age and freshness lifetime from supplied headers.

Processing stays in your browser. Uses max-age/Expires and apparent age without request/response transit timings. No heuristic freshness, shared-cache model or live fetch.

How to use the http cache freshness calculator

Review the example input and the labeled settings for http cache freshness calculator. Paste your own data or use the optional UTF-8 upload where shown. Choose Run tool, inspect the result and any visual preview, then copy or download it. Changing an input clears the previous result.

Example

At ten minutes after Date, apparent age is 600 seconds, leaving 3000 seconds of max-age freshness.

Good to know

Uses max-age/Expires and apparent age without request/response transit timings. No heuristic freshness, shared-cache model or live fetch.

Use protocol data with its original context

Copy a small request, response, record or configuration that demonstrates the question you are investigating. Remove credentials, cookies and private hostnames where possible. Preserve line endings, numeric bases and field order when the format requires them. Distinguish a tool that reads pasted data from one that makes an external lookup: reading a sample cannot establish the current state of a remote service.

Inputs and settings explained

Input
Paste the input as plain text using the demonstrated structure. Keep meaningful line breaks, quotation marks and separators. Start with a small representative example and increase its size only after the output is understood. Read the tool's restrictions before including unsupported syntax or binary data.
See the demonstration value
Cache-Control: max-age=3600
Date: Fri, 13 Nov 2026 00:00:00 GMT
Age: 120
Evaluation ISO UTC
Enter the evaluation iso utc exactly as required by the example. Check spelling, whitespace and any stated naming rules before running the operation. Use a small test value first; an accepted text field does not by itself establish that the value is appropriate for the system that will consume the result.
See the demonstration value
2026-11-13T00:10:00Z

How to review the result

Compare the reported fields with the relevant protocol and the implementation that will consume them. A valid-looking record can still refer to an unavailable host or an incorrectly configured service. Redirects, caches, proxies and resolver choices can affect what a real client observes. When a lookup is available, note its provider and time, and confirm an important finding from the environment where the failure occurs. Never assume that one observation represents all networks or clients.

  • Check the hostname, port, scheme, record type and request method for the actual task.
  • Keep malformed sample data separate from evidence captured from a live system.
  • Verify the result with the real client or service after applying a configuration change.

Common questions about this workflow

Does a local report show whether my server is reachable?

Only an actual network operation can observe reachability, and that observation is limited to its location and time. A parser or builder can help inspect the supplied data but cannot establish the remote service's behavior.

Why does another machine show a different result?

The machines may use different DNS resolvers, caches, networks, authentication or software versions. Compare their actual requests and configurations. Use the report to narrow the question rather than treating a difference as proof that either machine is wrong.

Built by DevBricks Technologies. Found an unexpected result in HTTP Cache Freshness Calculator? Report a reproducible example with the tool URL, settings and a small sample that contains no private information.