Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akamai/cli-purge
Akamai CLI for Purge allows you to purge cached content from the Edge using FastPurge (CCUv3).
https://github.com/akamai/cli-purge
akamai akamai-cli cli devexp devexp-cli purge
Last synced: 17 days ago
JSON representation
Akamai CLI for Purge allows you to purge cached content from the Edge using FastPurge (CCUv3).
- Host: GitHub
- URL: https://github.com/akamai/cli-purge
- Owner: akamai
- License: apache-2.0
- Created: 2017-06-14T21:57:10.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-05-21T05:10:42.000Z (over 1 year ago)
- Last Synced: 2024-06-18T23:06:31.493Z (6 months ago)
- Topics: akamai, akamai-cli, cli, devexp, devexp-cli, purge
- Language: Go
- Homepage: https://github.com/akamai/cli
- Size: 36.1 KB
- Stars: 47
- Watchers: 10
- Forks: 18
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Akamai CLI for Purge
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.
## Install
To install, use [Akamai CLI](https://github.com/akamai/cli):
```
akamai install purge
```You may also use this as a stand-alone command by downloading the
[latest release binary](https://github.com/akamai/cli-purge/releases)
for your system, or by cloning this repository and compiling it yourself.### Compiling from Source
If you want to compile it from source, you will need Go 1.18 or later:
1. Create a clone of the target repository:
`git clone https://github.com/akamai/cli-purge.git`
2. Change to the package directory and compile the binary:
- Linux/macOS/*nix: `go build -o akamai-purge`
- Windows: `go build -o akamai-purge.exe`## Usage
```
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
## Commands
- `invalidate` — Invalidate content
- `delete` — Delete content
- `list` — List commands
- `help` — Shows a list of commands or help for one command## Global Flags
- `--edgerc value` — Location of the credentials file (default: $HOME) [$AKAMAI_EDGERC]
- `--section value` — Section of the credentials file (default: "ccu") [$AKAMAI_EDGERC_SECTION]
- `--help`, `-h` — show help
- `--version`, `-v` — print the version