Pragma headers
This is the list of Akamai Pragma headers you can use when creating a request in the Request Content (CURL) tool and Advanced URL Health Check problem scenario.
Pragma request header passed | Pragma response header obtained | Description |
---|---|---|
akamai-x-cache-on | X-Cache | Returns information about how the edge server response was served. Some example responses are: - TCP_HIT : The object was fresh in cache and the object was fetched from the disk cache.- TCP_MISS : The object was not in cache and a server fetched it from an origin server.- TCP_REFRESH_HIT : The object was stale in cache and was successfully refreshed with the object from an origin server with the If-Modified-Since request.- TCP_REFRESH_MISS : The object was stale in cache and refresh obtained a new object from an origin server in response to the If-Modified-Since request.- TCP_REFRESH_FAIL_HIT : The object was stale in cache and an origin server couldn't be reached to refresh it, so the stale object was served.- TCP_IMS_HIT : The If-Modified-Since request arrived from a client and object was fresh in cache and served.- TCP_NEGATIVE_HIT : The object previously returned a Not found response (or other negatively cacheable response) and that cached response was hit for the new request.- TCP_MEM_HIT : The object was on a disk and in the memory cache. A server served the object without hitting the disk. |
akamai-x-cache-remote-on | X-Cache-Remote | Returns information about how the parent server response was served. For example responses, see the akamai-x-cache-on description. |
akamai-x-check-cacheable | X-Check-Cacheable | Returns a flag to indicate whether the response is cacheable, either YES and NO . |
akamai-x-get-true-cache-key | X-True-Cache-Key | Returns the true cache key used for the MD5 hashing. It doesn't include the scheme (HTTP/HTTPS) or the request method (GET, POST etc.). |
akamai-x-get-cache-key | X-Cache-Key | Returns the cache key used for the request, including the serial number, CP code, and the TTL for the response. |
akamai-x-serial-no | X-Serial | Returns the serial number used for the request. This is also returned in the X-Cache-Key response header. |
akamai-x-get-request-id | X-Akamai-Request-ID | Returns the ID of the request, used to identify the request in the logs. If cache-h (Tiered Distribution or SiteShield) is being used, the ID will be of the format {parent-id}.{child-id} . |
Updated 6 months ago