Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
mohamedkhallouq
GitHub Repository: mohamedkhallouq/content
Path: blob/main/files/en-us/web/http/headers/accept-ch-lifetime/index.md
6567 views
---
title: Accept-CH-Lifetime slug: Web/HTTP/Headers/Accept-CH-Lifetime status: - deprecated - non-standard browser-compat: http.headers.Accept-CH-Lifetime
---

{{HTTPSidebar}}{{securecontext_header}}{{Deprecated_header}}{{Non-standard_header}}

Warning: The header was removed from the specification in draft 8.

The Accept-CH-Lifetime header is set by the server to specify the persistence of the client hint headers it specified using {{HTTPHeader("Accept-CH")}}, that the client should include in subsequent requests.

Header type {{Glossary("Response header")}}
{{Glossary("Forbidden header name")}} no
{{Glossary("CORS-safelisted response header")}} no

Note: Client Hints are accessible only on secure origins (via TLS). {{HTTPHeader("Accept-CH")}} and {{HTTPHeader("Accept-CH-Lifetime")}} headers should be persisted for all secure requests to ensure Client Hints are sent reliably.

Syntax

Accept-CH-Lifetime: <age>

Examples

Accept-CH: Viewport-Width Accept-CH-Lifetime: 86400

Browser compatibility

{{Compat}}

See also

  • {{HTTPHeader("Accept-CH")}}

  • {{HTTPHeader("Vary")}}