Skip to content

Latest commit

 

History

History
57 lines (34 loc) · 1.31 KB

ts-cdn-working.md

File metadata and controls

57 lines (34 loc) · 1.31 KB
copyright lastupdated keywords subcollection
years
2018, 2020
2020-01-08
troubleshooting
CDN

{{site.data.keyword.attribute-definition-list}}

How do I know that my CDN is working?

{: #troubleshoot-cdn-working} {: troubleshoot} {: support}

To verify that your CDN is working properly, run the following curl command by replacing http://your.cdn.domain/uri with the respective file path on your CDN. {: shortdesc}

curl -I -H "Pragma: akamai-x-cache-on, akamai-x-cache-remote-on, akamai-x-check-cacheable, akamai-x-get-cache-key, akamai-x-get-extracted-values, akamai-x-get-nonces, akamai-x-get-ssl-client-session-id, akamai-x-get-true-cache-key, akamai-x-serial-no" http://your.cdn.domain/uri

{: codeblock}

If the output of the curl command is similar to the following example format, the CDN is working as expected:

   HTTP/1.1 200 OK

    Server: nginx/1.13.0

   ...

    X-Cache: TCP_HIT from a199-117-103-28.deploy.akamaitechnologies.com (AkamaiGHost/9.0.2.1-20488781) (-)

    X-Cache-Key: /L/1363/535014/1d/your.cdn.domain/uri

    X-True-Cache-Key: /L/your.cdn.domain/uri

    ...

    ...

    X-Akamai-Session-Info: name=WSD_BEST_PRACTICES_TD_TYPE; value=PATTERNS_BASED_PARENT_MAP

    X-Serial: 1363

    Connection: keep-alive

    X-Check-Cacheable: YES


{: screen}