Cloudflare Clear Cache and Enable Development Mode API


(Brandon Scott Corlett) #1

So I find that from time to time I end up forgetting to turn on development mode and spend a good 15 min trying to figure out why it looks like my site isn’t publishing any changes.

I found this post about the Cloudflare api. However I seem to be missing how to actually use it.

Anyone have any ideas?


(Lisa Sandler) #2

My host (https://www.chillidoghosting.com) offers it in the Control Panel… super easy to set up and purge… but not sure who you are hosting with and if they include it? @barchard runs Chillidog.


(Doug Bennett) #3

Looks like it’s curl from the command line, still going to have to remember to do it. Sounds like it’s easier just to login to cloudFlare and throw the switch.


(Brandon Scott Corlett) #4

Thats why it didn’t work as PHP! :stuck_out_tongue_closed_eyes:

Thanks @teefers , I’ll have to see if I can convert a command line CURL to a PHP CURL.

#alwaysSomethingToLearn