8000 GitHub - keycdn/grunt-keycdn: Grunt plugin for the KeyCDN API · GitHub
[go: up one dir, main page]

Skip to content

About

Grunt plugin for the KeyCDN API

Resources

Stars

5 stars

Watchers

1 watching

Forks

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-keycdn

Grunt plugin to interact with the KeyCDN API.

Usage

Purge Zone Cache

grunt.initConfig({
    keycdn: {
      purgeZone: {
        options: {
          apiKey: '{your_api_key}',
          zoneId: '{zone_id}',
          method: 'get'
        }
      },
    },
  });

Purge Selected URLs

grunt.initConfig({
    keycdn: {
      purgeURL: {
        options: {
          apiKey: '{your_api_key}',
          zoneId: '{zone_id}',
          method: 'del'
        },
        files: [
          { dest: 'demo-1.kxcdn.com/css/main.css' },
          { dest: 'demo-1.kxcdn.com/img/logo.png' }
        ],
      },
    },
  });

For more details visit https://www.keycdn.com

About

Grunt plugin for the KeyCDN API

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0