typisttech / sunny

Automatically purge Cloudflare cache, including cache everything rules.
https://typist.tech/projects/sunny
GNU General Public License v2.0
35 stars 3 forks source link

Check the Cloudflare account is capable of purge a URL #128

Open tangrufus opened 6 years ago

tangrufus commented 6 years ago
  1. Get host from URL

  2. GET zones/:identifier

    • read "name": "example.com"
    • cache it
  3. check host (1) ends with zone name(2)

tangrufus commented 4 years ago

As a health check https://make.wordpress.org/core/2019/04/25/site-health-check-in-5-2/