Created
June 29, 2015 06:45
-
-
Save jonhiggs/0250badb48bed36cfb79 to your computer and use it in GitHub Desktop.
akamai_cache_headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
if [[ -z $1 ]]; then | |
echo "Supply the url you need the cache headers for." | |
exit 1 | |
fi | |
address=$1 | |
curl -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" -IXGET ${address} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks to this: http://stackoverflow.com/questions/8811741/whats-the-best-way-to-troubleshoot-akamai-headers-these-daysd