Debug Akamai CDN using curl

in #debug8 years ago

Debug akamai CDN using curl:

# CURL Example:

 curl -IXGET -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://example.com/


# Example Response;

HTTP/1.1 200 OK
Accept-Ranges: bytes
Access-Control-Allow-Methods: GET, POST, OPTIONS
Access-Control-Allow-Origin: *
Content-Type: audio/x-mpegurl
Web detectedServer: varnish
Content-Length: 2382
Cache-Control: max-age=604800
Date: Tue, 07 Nov 2017 11:42:59 GMT
X-Cache: TCP_MISS from deploy.akamaitechnologies.com 
X-Cache-Key: http://example.com/
X-True-Cache-Key: http://example.com/
X-Akamai-Session-Info: name=AKA_PM_BASEDIR; value=
X-Akamai-Session-Info: name=AKA_PM_BYPASS_TD; value=true
X-Akamai-Session-Info: name=AKA_PM_CACHEABLE_OBJECT; value=true
X-Akamai-Session-Info: name=AKA_PM_FWD_URL; value=/
X-Akamai-Session-Info: name=AKA_PM_NETSTORAGE_ROOT; value=
X-Akamai-Session-Info: name=AKA_PM_OUTCOME_URL; value=/
X-Akamai-Session-Info: name=AKA_PM_REMOVE_QS_LIST; value=*
X-Akamai-Session-Info: name=AKA_PM_SR_ENABLED; value=false
X-Akamai-Session-Info: name=AKA_PM_TD_ENABLED; value=true
X-Akamai-Session-Info: name=AKA_PM_TD_MAP_PREFIX; value=ch2
X-Akamai-Session-Info: name=FILENAME; value=/
X-Akamai-Session-Info: name=HASHVAL1; value=202
X-Akamai-Session-Info: name=HASHVAL2; value=255
X-Akamai-Session-Info: name=MEDIASEC_TA_ENABLE_URL_TOKEN_PASSING; value=1
X-Akamai-Session-Info: name=OVERRIDE_HTTPS_IE_CACHE_BUST; value=all
X-Akamai-Session-Info: name=PATHNAME; value=media
X-Serial: 16382
Connection: keep-alive
X-Cache-Remote: TCP_HIT from deploy.akamaitechnologies.com
X-Check-Cacheable: YES


Sort:  

Congratulations @qu884j! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

You published your First Post
You got a First Vote

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!