Given;
DOMAIN e.g. sygnal.com
Registered on CF, with DNS and proxy setup
ZONE-ID for that domain
Add a CNAME for hf to @
Set it to proxy on
Add a KV store config of to CONFIG, with your ZONE-ID.
Key; DOMAIN
:purge-cache
*hf.
DOMAIN
/cache/purge
-> cloudflare-clear-cache
https://hf.DOMAIN/cache/purge
A successful response is;
Get your site id
e.g. 62296a1920ec667f814208e2
Paste in site_id
Select site_publish
Paste in your HF URL
Click Try It!
Check for a valid 201 response e.g.;
e.g.