Check the Cloudflare account is capable of purge a URL
tangrufus opened this issue · comments
Tang Rufus commented
- Get host from URL
public Uri::getHost(void): string
- http://uri.thephpleague.com/5.0/uri/api/
- GET
zones/:identifier
- read "name": "example.com"
- cache it
- check host (1) ends with zone name(2)
Tang Rufus commented
As a health check https://make.wordpress.org/core/2019/04/25/site-health-check-in-5-2/