Akamai CLI for Purge allows you to purge cached content from the Edge using FastPurge (CCUv3).
FastPurge will typically invalidate (recommended), or delete cached content in under five seconds.
To install, use Akamai CLI:
akamai install purge
You may also use this as a stand-alone command by downloading the latest release binary for your system, or by cloning this repository and compiling it yourself.
If you want to compile it from source, you will need Go 1.7 or later, and the Dep package manager installed:
go get github.com/akamai/cli-purge
go build -o akamai-purge
go build -o akamai-purge.exe
akamai-purge.exe) in to your
akamai purge [global flags] command [--cpcode --tag] [URLs/CPCodes/Cache Tags...]
You may specify URLs/CPCodes as a list of arguments, or pipe in a newline-delimited list via STDIN
invalidate— Invalidate content
delete— Delete content
list— List commands
help— Shows a list of commands or help for one command
--edgerc value— Location of the credentials file (default: $HOME) [$AKAMAI_EDGERC]
--section value— Section of the credentials file (default: “ccu”) [$AKAMAI_EDGERC_SECTION]
-h— show help
-v— print the version