Website Hosting Cost Tools

Browser-local response header comparison

Compare HTTP cache directives before and after a change

Compare pasted Cache-Control directives, ETag values, and Expires fields from two response captures. No URL requests or cache-policy recommendations.

Compare response-header text that you collected before and after a hosting or deployment change. The worksheet breaks Cache-Control into directives, then compares captured ETag and Expires values. It works only on text pasted here; no URL is requested and it does not recommend a cache policy.

Compare the same resource using the same request method and collection conditions where practical. Paste the response header lines, not a browser screenshot. The parser recognizes field names without regard to capitalization. Directive values are preserved as entered for comparison.

Paste at least one Cache-Control, ETag, or Expires field, then compare.

No comparison run yet.

Changing either capture clears the previous report. Compare again before printing or saving so the output matches the current inputs.

How to read the report

Each Cache-Control directive is shown as added, removed, changed, or unchanged. A change means the pasted directive text differs between the two observations; it is not a verdict that the new response is better or worse. ETag and Expires are compared as whole captured values. If a field appears more than once, the report preserves the captured values and flags the duplicate for review.

The parser splits Cache-Control members at commas outside quoted strings, so a quoted extension value containing a comma stays together. It reports malformed or empty members for review and does not try to interpret directive semantics, resolve conflicts, calculate freshness, or identify which intermediary produced a header.

Worked example

The placeholder values above are illustrative, not observations. They produce these kinds of findings: max-age=3600 changes to max-age=600; stale-while-revalidate=30 is added; public remains unchanged; ETag changes; and Expires is present only before. The output compares entered text and does not say what policy to use.

Before relying on a difference

Sources checked November 5, 2026

This local comparison does not fetch, validate, or store a website response. It cannot determine the effect of a header on a particular browser, CDN, or application, and it is not a cache configuration validator.

How it works

Paste response headers captured before and after a hosting or deployment change. The browser compares Cache-Control directives individually and reports captured ETag and Expires values without requesting either URL or recommending a policy.

Good to know

Does this tool fetch a URL or inspect a live cache?

No. It parses only text you paste and sends no network requests. It cannot identify the cache layer that produced a header.

Does a changed directive mean the new value is wrong?

No. The report shows textual differences only. Review the complete response and the rules for your application, proxy, CDN, and browser before deciding what a change means.

How are repeated Cache-Control directives handled?

The comparison preserves repeated values and flags repeated directive names for review; it does not resolve conflicts or interpret their effect.

Impact — TODO: apply/approval and configure referral URL — referral link not configured.

CJ Affiliate — TODO: apply/approval and configure referral URL — referral link not configured.

PartnerStack — TODO: apply/approval and configure referral URL — referral link not configured.