Skip to content

Azure Function in Go that purges a site's Cloudflare cache.

License

Notifications You must be signed in to change notification settings

jidicula/cloudflare-cachebuster

Folders and files

NameName
Last commit message
Last commit date
May 11, 2024
Apr 16, 2023
Apr 16, 2023
Apr 16, 2023
Apr 16, 2023
Apr 16, 2023
Apr 12, 2023
Apr 16, 2023
Sep 17, 2023
Apr 16, 2023
Apr 16, 2023
Apr 16, 2023

Repository files navigation

Build Latest Release Go Report Card Go Reference

cloudflare-cachebuster

Azure Function that calls Cloudflare's purge_cache endpoint.

Requires 2 environment variables to be set:

  • CLOUDFLARE_ZONEID: the Zone ID of the cache being purged.
  • CLOUDFLARE_PAT: A Cloudflare PAT with Zone.Cache Purge permissions for the cache's zone.

Deploying to Azure via GitHub Actions

Requires: