https://github.com/c4milo/cfpurger
Simplistic Cloudflare cache purging CLI tool.
https://github.com/c4milo/cfpurger
Last synced: 22 days ago
JSON representation
Simplistic Cloudflare cache purging CLI tool.
- Host: GitHub
- URL: https://github.com/c4milo/cfpurger
- Owner: c4milo
- License: mpl-2.0
- Created: 2015-02-28T07:48:33.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-07-02T05:46:20.000Z (almost 11 years ago)
- Last Synced: 2025-01-26T07:44:33.818Z (over 1 year ago)
- Language: Go
- Size: 152 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cfpurger
Small tool that checks a given URL for changes in its HTML document, if it finds any, it then purges Cloudflare's cache for the given site.
## Usage
```shell
$ ./cfpurger
Usage of ./cfpurger:
-cfsite="": The name of the site to purge in Cloudflare
-cftkn="": Cloudflare API token
-dryrun=false: Simulates a purging without hitting Cloudflare.
-email="": Cloudflare account email
-interval=15: The time in seconds to check for changes.
-url="": The url to watch for changes
-version=false: Prints version
```