WordPress plugin
Cloudflare Pro
The Cloudflare add-on connects a WordPress website to a Cloudflare account. It brings selected settings and analytics into the WordPress dashboard, while services such as Automatic Platform Optimization (APO) and the Web Application Firewall (WAF) depend on the account plan.
The Cloudflare add-on connects a WordPress website to a Cloudflare account. It brings selected settings and analytics into the WordPress dashboard, while services such as Automatic Platform Optimization (APO) and the Web Application Firewall (WAF) depend on the account plan.
APO caches HTML at the edge
APO caches static HTML pages across Cloudflare’s edge network, described as having more than 250 data centers worldwide. This extends caching beyond static assets such as images, JavaScript and CSS. When content is updated, APO automatically purges that content from cache, while unchanged pages can remain cached. Cloudflare says APO can speed up a WordPress website by up to 300%.
APO and WAF plan access
APO is included with paid plans, including Pro and Business. On the free plan, it is a $5 add-on with unlimited subdomains. Cloudflare also lists free DNS, automated SSL certificates and DDoS mitigation among the benefits available with APO.
The WAF is available on paid plans and includes regularly updated rulesets tailored to WordPress threats and vulnerabilities. Cloudflare says it can be enabled without difficult site adjustments.
Settings and analytics in WordPress
From the plugin, administrators can manage cache purges, security level, Always Online and image optimization. Analytics can display total users, bandwidth saved and threats blocked. The plugin also includes a header rewrite intended to prevent a redirect loop when Universal SSL is enabled, plus support for HTTP/2 and Server Push.
Connect a Cloudflare account
Install and activate the plugin in WordPress. On first use, enter the email address associated with the Cloudflare account and an API Token or API key. Then configure the available settings and enable the plan capabilities needed for the site. The listed prerequisites are WordPress 6.7 or newer and PHP 7.4 or newer.