Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/http/headers/age/index.md
6532 views
---
title: Age slug: Web/HTTP/Headers/Age browser-compat: http.headers.Age
---

{{HTTPSidebar}}

The Age header contains the time in seconds the object was in a proxy cache.

The Age header is usually close to zero. If it is Age: 0, it was probably fetched from the origin server; otherwise, it was usually calculated as a difference between the proxy's current date and the {{HTTPHeader("Date")}} general header included in the HTTP response.

Header type {{Glossary("Response header")}}
{{Glossary("Forbidden header name")}} no

Syntax

Age: <delta-seconds>

Directives

  • <delta-seconds>

    • : A non-negative integer that is time in seconds the object was in a proxy cache.

Examples

Age: 24

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{HTTPHeader("Cache-Control")}}

  • {{HTTPHeader("Expires")}}