Akamai-Cache-Status

The HTTP Akamai-Cache-Status response header is an unofficial header emitted by Akamai's edge network to report whether a response came from Akamai's cache or from the origin server. The value names a status such as Hit or Miss and the Akamai tier where the result happened, so a single header line answers the question an operator asks first when a page loads slowly or serves stale content.

Usage

The Akamai-Cache-Status header is produced by the Return Cache Status behavior in Akamai Property Manager. The behavior has one option, the response header name, and Akamai's documentation and Terraform provider use Akamai-Cache-Status as the example name, which is also the name seen on live properties. Once the behavior sits in a property's rule tree, every response in scope carries the header, with no debug request header required. A plain request for a cached favicon on an enabled property returns Hit from child to any client.

The value has one of two documented forms. A request handled by a single Akamai server produces {status} from child. A request routed through two Akamai tiers produces {status} from child, {status} from parent. The child is the edge server answering the client. The parent is a second Akamai server, positioned close to the origin, which exists when the property uses Tiered Distribution or SiteShield. Tiered Distribution designates Akamai servers near the origin as parents, which cache content and serve other Akamai servers, so an edge miss is answered by a parent cache instead of the origin. The two-part value reports both lookups in one line.

The same information is available through Akamai's debug tooling without the behavior. Enhanced Debug, triggered by an Akamai-Debug request header carrying a signed, time-limited token, returns Akamai-Cache-Status as part of its cache option alongside the older X-Cache family. The behavior-driven header serves the always-on case, where monitoring systems and engineers read the value from ordinary traffic, and the debug path serves the one-off investigation.

Values

Each value is a status word followed by from child, with an optional second status for the parent tier after a comma. Akamai documents eight status words.

Hit

The Hit status means the object was retrieved from Akamai's cache. On the child, the edge server answered from its own store and the request went no further.

Miss

The Miss status means the object was absent from the Akamai cache at the reporting tier. A Miss from child alone means the edge fetched the object from the origin and stored a copy, so later requests to the same edge server return Hit from child.

RefreshHit

The RefreshHit status means the object was in cache but stale, so the server sent an If-Modified-Since request to the origin and the origin answered 304. The stored copy was confirmed current and served, the same outcome X-Cache reports as TCP_REFRESH_HIT.

HitStale

The HitStale status means the object was in cache and stale, and a more recent object was unavailable from the origin, so the stale copy was served. The status surfaces when the origin is down or slow and the property allows stale delivery.

NotCacheable

The NotCacheable status means the property defines the object as not cacheable, so Akamai forwards every request for it to the origin. The status appears on HTML pages configured with no-store behavior while static assets on the same host report Hit.

Constructed

The Constructed status means the Construct Response behavior supplied the response body directly at the edge, with no cache lookup and no origin request.

Redirect

The Redirect status means the Akamai edge configuration issued the redirect, through the Redirect, Redirect Plus or Edge Redirector Cloudlet behaviors, rather than passing on a redirect from the origin.

Error

The Error status means an error occurred at the edge, typically a denied authorization or a request rejected by the Web Application Firewall. A 403 generated by Akamai's bot or WAF rules carries Error from child.

Example

A request for a static asset on a property with the Return Cache Status behavior and legacy Pragma debugging enabled. The Pragma values ask the edge for the detailed debug headers in addition to the always-on status header.

GET /favicon.ico HTTP/1.1
Host: www.example.re
Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable

The edge answers from memory. Hit from child reports the cache result in the behavior's wording, while the debug X-Cache header reports the same result as TCP_MEM_HIT and names the edge server. X-Check-Cacheable: YES confirms the property allows caching for the object. The single tier in the value shows the request involved no parent server.

HTTP/1.1 200 OK
Content-Type: image/x-icon
Cache-Control: max-age=86400
Akamai-Cache-Status: Hit from child
X-Cache: TCP_MEM_HIT from a2-18-28-88.deploy.akamaitechnologies.com (AkamaiGHost/22.7.0-c18a5259117e1d1b2cb0ace70ccfa9bb) (-)
X-Check-Cacheable: YES

On a property with Tiered Distribution, the first request for an object misses at the edge, and the parent tier supplies the copy. Akamai documents the resulting value as Miss from child, Hit from parent. The child caches the object after the exchange, so the next request to the same edge reports Hit from child.

Akamai-Cache-Status: Miss from child, Hit from parent

A homepage configured as not cacheable reports NotCacheable from child on every response, since each request goes to the origin by design. The value separates an intentional origin fetch from a Miss worth investigating.

Akamai-Cache-Status: NotCacheable from child

A request blocked by the edge security configuration answers with a 403 and Error from child. The status confirms Akamai produced the response and the origin never saw the request.

HTTP/1.1 403 Forbidden
Akamai-Cache-Status: Error from child

Reading a tiered chain

The child entry always comes first and the parent entry second, so the value reads from the user outward toward the origin. Miss from child, Hit from parent means the edge had no copy, asked the parent, and the parent served from its cache with no origin request. Miss from child, Miss from parent means both tiers lacked the object and the origin received the request. A single Hit from child leaves the parent out because the edge resolved the request before any parent lookup. A parent entry only ever appears on properties routing through Tiered Distribution or SiteShield, so a single-tier value on such a property means the edge answered alone.

The legacy debug headers split the same chain across two response headers. X-Cache reports how the edge served the response and X-Cache-Remote reports how the parent served it, each naming the Akamai server hostname after from. A live tiered response shows both at once.

X-Cache: TCP_MISS from a184-86-102-154.deploy.akamaitechnologies.com (AkamaiGHost/22.7.0-e687e9264c02f058b1bf8e920219e21f) (-)
X-Cache-Remote: TCP_MISS from a23-45-232-172.deploy.akamaitechnologies.com (AkamaiGHost/22.7.0-e687e9264c02f058b1bf8e920219e21f) (-)
X-Check-Cacheable: NO

The X-Akamai-Request-ID debug header follows the same split: on Tiered Distribution or SiteShield properties the value takes the form {parent-id}.{child-id}, and the identifier is unique only within the edge server. The Akamai-GRN header carries the globally unique request identifier for support tickets.

Pragma debug headers and Enhanced Debug

Akamai's older cache diagnostics ride on the Pragma request header. A client lists Akamai-specific values in Pragma, and the edge adds a matching response header for each. The cache-related values and the headers they return:

Pragma value Response header Content
akamai-x-cache-on X-Cache How the edge server served the response
akamai-x-cache-remote-on X-Cache-Remote How the parent server served the response
akamai-x-check-cacheable X-Check-Cacheable YES or NO, whether the property allows caching the object
akamai-x-get-cache-key X-Cache-Key The cache key with serial number, CP code and TTL
akamai-x-get-true-cache-key X-True-Cache-Key The cache key without scheme and method
akamai-x-serial-no X-Serial Serial number of the edge server
akamai-x-get-cache-tags Edge-Cache-Tag Cache tags on the content

The X-Cache and X-Cache-Remote values use Akamai's TCP_ vocabulary: TCP_HIT for a fresh object from disk, TCP_MEM_HIT for a fresh object from memory, TCP_MISS for an origin fetch, TCP_REFRESH_HIT and TCP_REFRESH_MISS for a stale object revalidated with If-Modified-Since, TCP_REFRESH_FAIL_HIT for a stale object served because the origin was unreachable, TCP_IMS_HIT for a client conditional request answered from a fresh cached object, and TCP_NEGATIVE_HIT for a cached negative response such as a 404. Live responses on blocked requests add TCP_DENIED, which Akamai's value list leaves out. Each value is followed by from, the Akamai server hostname, the AkamaiGHost software version in parentheses, and a trailing parenthesized field Akamai leaves undocumented. X-Check-Cacheable: YES says the property allows caching, and the X-Cache value says whether it was.

The X-Cache-Key value is documented as carrying the serial number, the CP code and the response TTL. A live key reads S/L/1319/734566/1d/www.example.re/icons/logo.svg, where 1319 matches the X-Serial header on the same response, 734566 is a CP code, and 1d is a one-day TTL. Akamai documents no meaning for the leading letters, and observed keys for uncacheable objects carry 000 in the TTL position.

Akamai documents Pragma debugging as legacy and Enhanced Debug as its replacement. Enhanced Debug is a Property Manager behavior placed in the default rule, and a request carries Akamai-Debug: {auth-token} cache with a token derived from a customer-defined debug key and valid from thirty seconds to one day, so only token holders see the debug headers. The cache option returns the whole cache family at once: X-Cache, X-Cache-Remote, X-Check-Cacheable, the cache key headers, Edge-Cache-Tag and Akamai-Cache-Status. The Enhanced Debug behavior carries a setting controlling whether legacy Pragma debugging still answers on the property, and Akamai advises allowing it only for a transition period.

Relation to Cache-Status

The Akamai-Cache-Status header carries the same class of information as the standard Cache-Status header in a different syntax. Cache-Status uses Structured Fields, with a quoted cache name per member and parameters such as hit, fwd=miss, fwd=stale and fwd-status=304. The Akamai form is a prose string with status words and the fixed tier names child and parent.

Rough equivalents exist. Hit corresponds to hit. Miss corresponds to fwd=miss, and a stored copy adds stored in the standard form. RefreshHit corresponds to fwd=stale with fwd-status=304. HitStale corresponds to fwd=stale served without a fresh origin response. NotCacheable corresponds to fwd=bypass.

The two headers order a chain in opposite directions. Cache-Status lists the cache closest to the origin first and the cache closest to the user last, with each cache appending its member. The Akamai header lists the child, closest to the user, first and the parent second. An operator reading both on a multi-CDN deployment reads Cache-Status right to left and Akamai-Cache-Status left to right to follow the same path from the user to the origin.

Akamai sends Akamai-Cache-Status rather than the standard header, so a parser built for Cache-Status skips the Akamai value, and tooling covering several CDNs reads the vendor header alongside Cf-Cache-Status and the X-Cache variants. The Age header, which Akamai sends on cached responses, and Cache-Control complete the picture of how long the copy has been held and how long the property keeps it.

See also

Last updated: November 3, 2026