GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - jidicula/cloudflare-cachebuster: Azure Function in Go that purges a site's Cloudflare cache.

BranchesTags
Open more actions menu

Latest commit

 

History

31 Commits
31 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
CloudflareCachebuster
CloudflareCachebuster
 
 
script
script
 
 
.funcignore
.funcignore
 
 
.gitignore
.gitignore
 
 
.golangci.yaml
.golangci.yaml
 
 
.pre-commit-config.yaml
.pre-commit-config.yaml
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
host.json
host.json
 
 
main.go
main.go
 
 

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:

  • AZURE_RBAC_CREDENTIALS: secret containing a service principal's RBAC credentials.
  • AZURE_FUNCTIONAPP_NAME: variable containing the Function App's name.

About

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

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

Generated from jidicula/template-go
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.