Skip to content

Instantly share code, notes, and snippets.

@lapthorn
Last active December 8, 2015 22:37
Show Gist options
  • Save lapthorn/8f8fb95a6802311ad0f0 to your computer and use it in GitHub Desktop.
Save lapthorn/8f8fb95a6802311ad0f0 to your computer and use it in GitHub Desktop.
Useful bash aliases for testing the Akamai CDN
# Useful bash aliases for debugging Akamai proxy responses
alias curla='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'\'''
alias curlaixg='curl -I -X GET -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'\'''
alias curlixg='curl -I -X GET'
alias curlmyip='curl http://www.lapthorn.com/curlmyip'
alias wgeta='wget -S --header='\''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'\'''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment