A simple tool that allows you to purge Cloudflare cache with a single click.
- Clean, user-friendly interface
- One-click cache purging
- Detailed status logging
- Easy to customize for your own domain
Click the button below to deploy this tool to your Cloudflare account:
After deploying, you'll need to:
- Set your Cloudflare Zone ID and domain name in the environment variables
- Create a Cloudflare API Token with Cache Purge permissions
- Go to your Cloudflare dashboard
- Navigate to "My Profile" > "API Tokens"
- Click "Create Token"
- Select the "Create Custom Token" option
- Give it a name like "Cache Purge Token"
- Under "Permissions", add:
- Zone - Cache Purge - Purge
- Under "Zone Resources", select "Include - Specific zone - Your Domain"
- Click "Continue to summary" and then "Create Token"
- Copy the token and use it in your Worker configuration
You can customize the appearance and behavior of the cache purge by editing the worker.js file.