200,000+
December 22, 2025
October 19, 2010
[https://www.youtube.com/watch?v=DWANhxoDxFI]
Automatic Platform Optimization (APO)
Speed up your WordPress site by up to 300% with Cloudflare’s Automatic Platform Optimization (APO) plugin. APO allows Cloudflare to serve your entire WordPress site from our edge network of over 250+ data centers worldwide ensuring fast & reliable performance for your visitors no matter where they are.
Optimizing your WordPress site with multiple plugins can be overwhelming. Take your WordPress site’s performance to the next level by switching to a single plugin for CDN, intelligent caching, and other key WordPress optimizations with Cloudflare (APO). Visit our announcement blog to learn more about APO.
What makes APO different from other caching plugins?
The key differentiating factor between Cloudflare APO and other traditional page caching and CDN solutions is its ability to directly cache static HTML at Cloudflare’s edge. Every other plugin and CDN will cache your static assets (images, javascript, CSS), but none help you cache the actual content on your site (the HTML) using a massive edge network like Cloudflare’s.
APO intelligently caches your HTML pages and will automatically purge content from the cache that you update, so users will always see the latest content without compromising the performance of pages that haven’t been recently updated
What you get with Cloudflare APO
APO is a $5 add-on with Cloudflare’s free plan and comes with an unlimited amount of subdomains. With APO you also get to leverage many of the other benefits of Cloudflare such as Free DNS, Free Automated SSL Certificates, Free DDoS Mitigation, and more. APO is free for all paid plan users so if you have Cloudflare Pro or Business already you can just turn it on. You can compare all our plans here.
Protect your WordPress site with Cloudflare’s Web Application Firewall (WAF)
Cloudflare’s WAF is available on all our paid plans and comes with built-in rulesets, specifically tailored to mitigate WordPress threats and vulnerabilities. These security rules are regularly updated by our team of experts. At the flip of a switch, you’ll have your WAF up and running without any difficult adjustments to your site. With over 26 million internet properties under our protection, you can sleep easy knowing Cloudflare has your back.
Header rewrite to prevent a redirect loop when Cloudflare’s Universal SSL is enabled
Change Cloudflare settings from within the plugin itself without needing to navigate to the cloudflare.com dashboard. You can change settings for cache purge, security level, Always Online, and image optimization
View analytics such as total visitors, bandwidth saved, and threats blocked
Support for HTTP2/Server Push
Make sure your PHP version is 7.4 or higher.
Setting up Cloudflare APO
If you’re currently utilizing Cloudflare’s free plan you can add APO to your plan for just $5/month. If you are on Cloudflare’s Pro Plan Cloudflare APO is already included in your subscription. We recommend you start with our APO developer documentation which includes all the information you need to get APO up and running.
How to check if APO is working
Using Uptrends you can verify if Cloudflare APO is working by checking to see if APO response headers are present. You can follow along in this video.
APO Support Resource can be found here
Get Started with Cloudflare SSL here
View our Cloudflare APO blog post here
Yes, on install and activation of the plugin, first time users will be asked to enter their email address (used to sign-up for an account at cloudflare.com) and either an API Token or their API key. This is needed to support all the features offered by the plugin.
You can review the recommended settings that are applied here.
APO works best when the WordPress plugin is used. We do not recommend using APO without the plugin installed. If you face issues with Cloudflare detecting the plugin then follow these steps:
1. Go to Cloudflare WordPress plugin
2. Disable APO in the card
3. Enable APO in the card (will set proper settings for APO feature)
4. Clear any server cache used via other plugins (WP Rocket being an example)
5. Verify that your origin starts serving response header “cf-edge-cache: cache,platform=wordpress”
You can read more about APO with WordPress here
Yes, Cloudflare works with, and helps speed up your site even more, if you have Varnish enabled.
Fixed
Changed
Fixed
Added
Changed
Deprecated
Changed
cloudflare_proxy action on /admin-ajax endpoint for non-Administrator users.htaccess configuration.cloudflare_use_cache hook to determine when to cache.url keys to be passed into cache purge requests.getZoneSettings not returning a key and throwing an unset array key error.publicly_queryable for is_post_type_viewable when determining if the post is public.always_use_https check to work with the API lacking a “value” for the key.purgeCacheByRelevantURLs now accepts either an array or single IDsymfony/polyfill to be PHP 7 compatibletransition_post_status WP hook behaviorwp_get_attachment_image_src is false and not a usable arraycfCRSFToken to remote APIFixed
Fixed
Added
Fixed
Added
Fixed
Added
Fixed
Added
Changed
Fixed
Fixed
Added
Changed
Fixed
Changed
Added
Changed
Fixed
Added
Fixed
Changed
Fixed
Added
Fixed
Changed
Fixed
Fixed
Fixed
Added
Removed
Changed
| Version | Download | Type |
|---|---|---|
| 4.14.2 | Download | Stable |
| 4.14.1 | Download | Stable |
| 4.14.0 | Download | Stable |
| 4.13.0 | Download | Stable |
| 4.12.8 | Download | Stable |
| 4.12.7 | Download | Stable |
| 4.12.6 | Download | Stable |
| 4.12.5 | Download | Stable |
| 4.12.4 | Download | Stable |
| 4.12.3 | Download | Stable |
| 4.12.2 | Download | Stable |
| 4.12.1 | Download | Stable |
| 4.12.0 | Download | Stable |
| 4.11.0 | Download | Stable |
| 4.10.1 | Download | Stable |
| 4.10.0 | Download | Stable |
| 4.9.1 | Download | Stable |
| 4.9.0 | Download | Stable |
| 4.8.3 | Download | Stable |
| 4.8.2 | Download | Stable |
| 4.8.1 | Download | Stable |
| 4.8.0 | Download | Stable |
| 4.7.0 | Download | Stable |
| 4.6.0 | Download | Stable |
| 4.5.1 | Download | Stable |
| 4.5.0 | Download | Stable |
| 4.4.0 | Download | Stable |
| 4.3.0 | Download | Stable |
| 4.2.2 | Download | Stable |
| 4.2.1 | Download | Stable |
| 4.2.0 | Download | Stable |
| 4.1.0 | Download | Stable |
| 4.0.0 | Download | Stable |
| 3.8.9 | Download | Stable |
| 3.8.8 | Download | Stable |
| 3.8.7 | Download | Stable |
| 3.8.6 | Download | Stable |
| 3.8.5 | Download | Stable |
| 3.8.4 | Download | Stable |
| 3.8.3 | Download | Stable |
| 3.8.2 | Download | Stable |
| 3.8.1 | Download | Stable |
| 3.8.0 | Download | Stable |
| 3.7.0 | Download | Stable |
| 3.6.0 | Download | Stable |
| 3.5.1 | Download | Stable |
| 3.5.0 | Download | Stable |
| 3.4.1 | Download | Stable |
| 3.4.0 | Download | Stable |
| 3.3.3 | Download | Stable |
| 3.3.2 | Download | Stable |
| 3.3.1 | Download | Stable |
| 3.3.0 | Download | Stable |
| 3.2.1 | Download | Stable |
| 3.2.0 | Download | Stable |
| 3.1.1 | Download | Stable |
| 3.1.0 | Download | Stable |
| 3.0.6 | Download | Stable |
| 3.0.5 | Download | Stable |
| 3.0.4 | Download | Stable |
| 3.0.3 | Download | Stable |
| 3.0.2 | Download | Stable |
| 3.0.1 | Download | Stable |
| 3.0.0 | Download | Stable |
| 1.3.25 | Download | Stable |
| 1.3.24 | Download | Stable |
| 1.3.23 | Download | Stable |
| 1.3.22 | Download | Stable |
| 1.3.21 | Download | Stable |
| 1.3.20 | Download | Stable |
| 1.3.19 | Download | Stable |
| 1.3.18 | Download | Stable |
| 1.3.17 | Download | Stable |
| 1.3.16 | Download | Stable |
| 1.3.15 | Download | Stable |
| 1.3.14 | Download | Stable |
| 1.3.13 | Download | Stable |
| 1.3.12 | Download | Stable |
| 1.3.11 | Download | Stable |
| 1.3.10 | Download | Stable |
| 1.3.9 | Download | Stable |
| 1.3.8 | Download | Stable |
| 1.3.7 | Download | Stable |
| 1.3.6 | Download | Stable |
| 1.3.5 | Download | Stable |
| 1.3.4 | Download | Stable |
| 1.3.3 | Download | Stable |
| 1.3.2.Beta | Download | Stable |
| 1.2.6.Beta | Download | Stable |
| 1.2.5.Beta | Download | Stable |
| 1.2.4 | Download | Stable |
| Development | Download | Trunk |