Integrations / Cloudflare CDN

+

Serve WordPress media through Cloudflare CDN

330+ cities. Free tier available. The CDN you might already be using for DNS and security. WP Media Cloud rewrites all media URLs to your Cloudflare hostname and Cloudflare handles global delivery, caching, and DDoS protection automatically.

330+
cities worldwide
Free
tier available
1
account for DNS, WAF, and CDN
What you get

The world's largest network. No new account if you are already on Cloudflare.

WP Media Cloud rewrites all WordPress media URLs to your Cloudflare hostname. If your site already runs behind Cloudflare for DNS or security, adding media CDN delivery costs nothing and requires no new account.

Automatic URL rewriting

Enter your Cloudflare CDN hostname in WP Media Cloud settings. Every media URL on your WordPress site rewrites to your Cloudflare domain automatically, including images in post content, featured images, and media inserted by page builders.

DDoS protection included

Cloudflare absorbs and mitigates DDoS attacks across all plans including free. When your media is served through Cloudflare, it is protected by the same network that handles some of the largest DDoS attacks on the internet without additional configuration or cost.

Free tier with no bandwidth cap

Cloudflare's free plan includes unlimited bandwidth with no data transfer limits. Paid plans add more performance features, but for many WordPress sites the free CDN tier is fully sufficient for serving media globally at low latency.

One account for DNS, WAF, and CDN

Most WordPress agencies and developers already use Cloudflare for DNS management and the WAF. When you add WP Media Cloud with a Cloudflare CDN hostname, your media delivery is managed from the same Cloudflare dashboard you already use. No new vendor, no new billing relationship.

HTTP/2 and HTTP/3 everywhere

Cloudflare enables HTTP/2 and HTTP/3 with QUIC on all plans including free. All media served through Cloudflare CDN benefits from multiplexed connections and reduced connection overhead without any server-side configuration.

Polish and image optimisation

Cloudflare Polish (available on paid plans) automatically converts images to WebP for supporting browsers and compresses images at the edge. Like Bunny Optimizer, this runs entirely on Cloudflare's servers. WP Media Cloud rewrites the URL; Cloudflare handles the rest.

Storage pairings

Best with Cloudflare R2. Works with any other origin.

The natural Cloudflare CDN storage pairing is Cloudflare R2. Both are Cloudflare products, egress from R2 to the Cloudflare edge network is free, and you manage both from the same dashboard. When you use R2 as your storage provider with Cloudflare CDN delivering it, the entire stack runs inside Cloudflare.

Beyond R2, Cloudflare officially supports Amazon S3 and Google Cloud Storage as CDN origins via Cloud Connector, Cloudflare's built-in storage routing feature. Backblaze B2 also works with Cloudflare CDN through the Bandwidth Alliance, with free egress between B2 and Cloudflare's network.

For other storage providers not listed above, Cloudflare's free plan terms of service restrict serving large volumes of non-HTML content from third-party origins. If you are using a storage provider not in the confirmed list, upgrading to a paid Cloudflare plan and confirming compatibility with your provider is recommended before relying on it for production traffic.

Cloudflare CDN storage origin compatibility

Cloudflare R2
Cloudflare R2
Native, same Cloudflare account, zero egress
Recommended
Amazon S3
Amazon S3
Cloud Connector official support
Official
Google Cloud Storage
Google Cloud Storage
Cloud Connector official support
Official
Backblaze B2
Backblaze B2
Bandwidth Alliance, free egress to Cloudflare
Free egress
Pricing

Free for most sites. Paid plans for Polish and advanced features.

Cloudflare CDN is included at no cost on the Free plan with unlimited bandwidth and no data transfer charges. This makes it unique among the CDNs in WP Media Cloud. For many WordPress sites, serving media through Cloudflare CDN costs nothing beyond the Cloudflare account itself.

The Free plan covers CDN caching, DDoS protection, SSL, HTTP/3, and basic rules. Cloudflare Polish (automatic WebP conversion) requires the Pro plan at $20 per month. The Pro plan also adds image resizing and more granular cache control. For most media offload use cases the free plan is sufficient.

View Cloudflare plans
Cloudflare Free plan $0/month
Bandwidth cap (Free) None
DDoS protection All plans
Cloudflare Pro plan $20/month
Polish (WebP conversion) Pro plan and above
Bunny CDN (EU and NA) $0.01/GB
CloudFront (US, first 10 TB) $0.0085/GB
How it works

If you are on Cloudflare already, you are halfway there.

For sites already using Cloudflare for DNS, adding CDN delivery for WordPress media is a matter of pointing WP Media Cloud at the right hostname. No new account, no new configuration outside of what you already have.

Step 01

Set up your storage provider

Configure your storage provider in WP Media Cloud first. Cloudflare R2 is the recommended pairing for zero-egress delivery. Any other supported storage provider works as a Cloudflare CDN origin.

Step 02

Set up a Cloudflare zone or subdomain

In Cloudflare, set up a zone for your CDN subdomain (e.g. cdn.yoursite.com). If using R2, connect the bucket to a Cloudflare custom domain in the R2 dashboard. If using another storage origin, create a CNAME or Worker route pointing at your bucket endpoint.

Step 03

Enter the CDN URL in WP Media Cloud

In WP Media Cloud settings, paste your Cloudflare CDN hostname into the CDN URL field. All media URLs on your site immediately rewrite to use the Cloudflare domain. Run the health check to confirm images load from Cloudflare.

Step 04

Media serves from the Cloudflare edge

Every image, video, and file is now served from the Cloudflare edge location closest to each visitor. Caching, DDoS protection, SSL, and HTTP/3 are all active automatically with no further plugin configuration.

Network coverage

330+ cities. The largest CDN network available.

Cloudflare operates the world's largest CDN network by number of locations with presence in 330+ cities across 100+ countries. No other CDN supported in WP Media Cloud has comparable coverage. For sites with audiences spread across multiple continents, particularly in regions where other CDN edge locations are sparse, Cloudflare's network breadth is a meaningful advantage.

Cloudflare's network is particularly strong in regions that smaller CDNs underserve: sub-Saharan Africa, South and Southeast Asia, Central America, and the Middle East. For MENA-based fitness sites, Cloudflare has strong coverage across the Gulf region with data centres in multiple Middle East cities.

WooCommerce downloadable products on Cloudflare CDN are served via standard CDN URLs. Secure signed downloads require Cloudflare R2 as storage (SigV4 presigned URLs) or Bunny.net Edge Storage (Token Authentication).

North America
North America Strong coverage
Europe
Europe Strong coverage
Middle East
Middle East and Gulf Strong coverage
Asia
Asia Pacific Strong coverage
Africa
Africa Broadest of any CDN
South America
South America Strong coverage
Also works with

Cloudflare CDN + your existing stack

WP Media Cloud with Cloudflare CDN works alongside every major page builder, image optimizer, and plugin integration from day one.

Bricks Builder
Bricks Builder
Page builder
Elementor
Elementor
Page builder
WooCommerce
WooCommerce
eCommerce
ShortPixel
ShortPixel
Image optimizer
WPML
WPML
Multilingual
ACF
Advanced Custom Fields
Custom fields
BuddyBoss
BuddyBoss
Community
Imagify
Imagify
Image optimizer

Start serving media through Cloudflare CDN today

All features included on every plan. 30-day money-back guarantee. No upload limits.

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only