0.0.9 • Published 9 years ago

grunt-cloudflare-cache v0.0.9

Weekly downloads
9
License
-
Repository
github
Last release
9 years ago

grunt-cloudflare

CloudFlare Grunt Task talking to the CloudFlare API. The default action is to purge the CloudFlare cache.

Options

cloudflare: {
  /* Action, default is to purge the cache */
  a: 'fpurge_ts',
  /* CloudFlare credentials */
  /* API key */
  tkn: process.env.CLOUDFLARE_API_KEY,
  /* CloudFlare e-mail */
  email: process.env.CLOUDFLARE_EMAIL,
  /* Domain */
  z: process.env.CLOUDFLARE_DOMAIN,
  /* Files */
  url: ['http://www.example.com/style.css', 'http://www.example.com/app.js']
}

For more options, see the CloudFlare API Docs.

Modifying this plug-in to support more CloudFlare actions should be straight forward. Don't hesitate sending in a pull request if you need another feature.

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.1

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago