Skip to content

Fastly versus Cloudflare

Easily compare Fastly and Cloudflare for POP locations, products, pricing, features & support. We hope this helps you better understand the similarities and differences between these content delivery networks.

Fastly logo Cloudflare logo

Company

Company Fastly Cloudflare
Short profile Founded in 2011, Fastly has grown into a mature CDN provider. Fastly offers a range of services including streaming media delivery and private CDN but Fastly is best known for being a 'real-time CDN', meaning changes happen instantly and the platform can deliver 'uncacheable' content well. Cloudflare provides a global CDN with unique performance capabilities and a strong focus on security. The company has a global infrastructure built from the ground up using only next-generation, high-performance equipment—no legacy software or hardware. The result is a CDN that's easy to set up, affordable, and built to continuously adapt and integrate emerging technologies to meet future needs of everyone's Internet properties.

Products

Yes
Sort of/partially
No
Extra costs
Unknown
Product Fastly Cloudflare
Dynamic content deliveryNon-cacheable content delivery. User login, shopping cart ...
Small file deliveryStatic object delivery; caching of small files (file size <1 MB)
Large file deliveryStatic object delivery; caching of large files (file size >1 MB)
Live videoDelivery of live video. RTMP? Transcoding/transmuxing? Stream Live
Video on demandDelivery of on demand video Video on Demand Stream
Image OptimizationAutomatic image transformation/compression/optimization Image Optimizer Image Resizing, Mirage, Polish
DNSAuthoritative DNS for customer domain DNS
WAFWeb Application Firewall Web application firewall Cloud Web Application Firewall
Anti-DDoSDDoS attack protection. Specific product(s) for this. DDoS Mitigation DDoS Protection
Private CDNDedicated edge resources & custom configs Fastly Managed CDN
Edge ComputeRun your code on CDN edge servers Compute@Edge Workers

Network

How many POP locations do Fastly and Cloudflare have in different parts of the world?

Region Fastly Cloudflare
North America 25 54
Latin America 8 55
Europe 20 47
Russia & CIS 0 12
Asia excl. China 13 45
China 0 37
Oceania 8 14
Middle East 2 21
Africa 3 24

Pricing

Pricing & contract duration Fastly Cloudflare
Minimum contract term None None
Minimum monthly costs $50 $0
Requests costsCustomers pay for client to CDN requests $0.0075 - $0.016 per 10k requests None
Ingress costsCustomers pay for origin-to-CDN bytes transferred None None
NA/EU traffic (low volume) $0.12 per GB $0
APAC traffic (low volume) $0.19 per GB $0
LATAM traffic (low volume) $0.28 per GB $0

Features

Yes
Sort of/partially
No
Extra costs
Unknown
Web acceleration Fastly Cloudflare
Instant setupSign up, configure, start testing.
Change propagation delayHow fast do config changes propagate to all POPs? Instant! Instant
Apex/root domain OK Blog: Root domain on CDN and performanceNo performance degradation when using http(s)://domain.com Global anycast IPs are available Global Anycast network
HTTP/2
HTTP/3 Enabling HTTP/3 HTTP/3 Prioritization
WebSockets Limited availability WebSockets docs
IPv6Do the edge servers have IPv6? IPv6 at Fastly
Compression CDN Guide: CompressionReduce file size for faster delivery Resend from origin, or compress on edge. Brotli! Resend from origin, or compress on edge
Origin pull - protocolHTTP only or HTTPS possible too? HTTP and HTTPS HTTP and HTTPS
Origin pull - Host headerUse client > edge value? Set specific value? Can be different from origin host Can be an IP address
Origin ShieldOne POP pulls from origin, other POPs pull from the shield POP Also available as separate product (Media Shield) Tiered Cache, included in all paid plans
Waiting RoomDuring peak traffic, route users to a virtual waiting room Stateful waiting room with Compute@Edge Cloudflare Waiting Room
Push / uploadStore your content directly on CDN, no customer origin
Cache control - CDN caching Full and granular control Page rules for overriding caching headers
Cache control - client caching Full and granular control
Serve Stale CDN Guide: Serve StaleCDN serves cached but expired content in case origin is in trouble Cache-Control extensions support Only 'stale while revalidate'
Purge CDN Guide: PurgeInvalidate or delete cached objects on CDN Instant! Purge Speed
Purge - capabilities Purge all and by key Purge per file and purge all
Analytics Real-time! Web analytics, threats and more. Live-updating for paying customers
Log files Real-time streaming of logs to your server Only for Enterprise customers, instantly available
API Purge, analytics, configuration Purge, analytics, configuration
HTTPS & Content Protection Fastly Cloudflare
CDN domain HTTPSUse the CDN's domain, like cloudfront.net Free for first 5 domains, $20 per additional domain SNI
Customer domain HTTPSYour domain in the CDN's certificate $100/m per FQDN, $275/m for wildcard domain More info
Customer cert HTTPSYour certificate on the CDN EV cert possible.
Token authentication Enabling URL token validation More info
Geo blocking Access Rules
Hotlink protectionThird parties cannot deeplink to your content Creating and using Edge Dictionaries
Basic authenticationUser logs in on the CDN to get content Authenticating before returning a request Possible with Workers
IP white/blacklisting About Edge ACLs Access Rules

Support

Customer support Fastly Cloudflare
Documentation Yes, public Yes, public. Cloudflare Community.
Humans Email support during business hours is free. Pay extra if you need more/better. Two paid plans available Email support for all. Phone only for Enterprise customers