Skip to main content
Version: 7.x

cloudflare

Source

Installing#

Add to your deploy.php

require 'contrib/cloudflare.php';

Configuration#

  • cloudflare โ€“ array with configuration for cloudflare
    • service_key โ€“ Cloudflare Service Key. If this is not provided, use api_key and email.
    • api_key โ€“ Cloudflare API key generated on the "My Account" page.
    • email โ€“ Cloudflare Email address associated with your account.
    • domain โ€“ The domain you want to clear

Usage#

Since the website should be built and some load is likely about to be applied to your server, this should be one of, if not the, last tasks before cleanup

Tasks#

deploy:cloudflare#

Source

Clearing Cloudflare Cache.