@nowtilus/akamai-purger

0.0.3 • Public • Published

Akamai-Purger

Purge your urls on the akamai origin using the edgegrid ccu/v3 API.

Install

  # you probably need sudo or admin rights to install globally
  npm i -g @nowtilus/akamai-purger

Configure

Put your Akamai credentials in an .edgerc file at the directory root

Usage

Purge a single url

  akamai-purger [url]

Purge multiple urls

  akamai-purger [url1] [url2] [url3]

If you have multiple section in .edgerc you can select one (defaults to default)

  akamai-purger --section default [url1] [url2] [url3]

Note that you have to escape some characters on the commandline. Your URLs will look like:

akamai-purger https://talktalk-image-stage.nowtilus.tv/27947f4b-24bf-4ef9-9205-41fc5f45d037/27947f4b24bf4ef9920541fc5f45d037_AtFirstLight_Film_L_wot.jpg\?product\=season\&type\=image\&imbypass\=true https://talktalk-image-stage.nowtilus.tv/27947f4b-24bf-4ef9-9205-41fc5f45d037/27947f4b24bf4ef9920541fc5f45d037_AtFirstLight_Film_L_wot.jpg\?product\=film\&type\=image

Readme

Keywords

none

Package Sidebar

Install

npm i @nowtilus/akamai-purger

Weekly Downloads

0

Version

0.0.3

License

MIT

Unpacked Size

3.03 kB

Total Files

4

Last publish

Collaborators

  • kaisel27
  • ronald_now
  • ingo_now