typisttech / sunny

Automatically purge Cloudflare cache, including cache everything rules.

Home Page:https://typist.tech/projects/sunny

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Check the Cloudflare account is capable of purge a URL

tangrufus opened this issue · comments

  1. Get host from URL
  1. GET zones/:identifier
  • read "name": "example.com"
  • cache it
  1. check host (1) ends with zone name(2)