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

Product Fastly Cloudflare
Dynamic content deliveryNon-cacheable content delivery. User login, shopping cart ... Available/supported Available/supported
Small file deliveryStatic object delivery; caching of small files (file size <1 MB) Available/supported Available/supported
Large file deliveryStatic object delivery; caching of large files (file size >1 MB) Available/supported Available/supported
Live videoDelivery of live video. RTMP? Transcoding/transmuxing? Available/supported Not available/supported
Video on demandDelivery of on demand video Available/supported Partially
Image OptimizationAutomatic image compression/optimization Available/supported Available/supported
DNSAuthoritative DNS for customer domain Not available/supported Available/supported
WAFWeb Application Firewall Available/supported Available/supported
Anti-DDoSDDoS attack protection. Specific product(s) for this. Available/supported Available/supported
Private CDNDedicated edge resources & custom configs Available/supported Not available/supported

Network

Region Fastly Cloudflare
North America 16 25
Latin America 3 8
Europe 6 29
Russia & CIS 0 2
Asia, excl China 6 13
China 0 20
Oceania 6 5
Middle-East 1 4
Africa 2 6

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 Same rates as CDN-to-client traffic 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

Web acceleration Fastly Cloudflare
Instant setupSign up, configure, start testing. Available/supported Available/supported
Change propagation delayHow fast do config changes propagate to all POPs? Available/supported Instant! Available/supported Instant
Apex/root domain OK Blog: Root domain on CDN and performanceNo performance degradation when using http(s)://domain.com Available/supported Global anycast IPs are available Available/supported Global Anycast network
HTTP/2 Available/supported Available/supported
IPv6Do the edge servers have IPv6? Available/supported IPv6 at Fastly Available/supported
Compression CDN Guide: CompressionReduce file size for faster delivery Resend from origin or compress on edge. Brotli!
tooltip
Resend, or compress on edge
Origin pull - protocolHTTP only or HTTPS possible too? Available/supported HTTP and HTTPS Available/supported HTTP and HTTPS
Origin pull - Host headerUse client > edge value? Set specific value? Available/supported Can be different from origin host Available/supported Can be an IP address
Origin shieldOne POP pulls from origin, other POPs pull from the shield POP Available/supported Not available/supported
Push / uploadStore your content directly on CDN, no customer origin Not available/supported Not available/supported
Cache control - CDN caching Available/supported Full and granular control Available/supported Page rules for overriding caching headers
Cache control - client caching Available/supported Full and granular control Available/supported
Serve stale CDN Guide: Serve staleCDN serves cached but expired content in case origin is in trouble Available/supported Cache-Control extensions support Partially Only 'stale while revalidate'
Purge CDN Guide: PurgeInvalidate or delete cached objects on CDN Available/supported Instant! Available/supported ~ 5 seconds
Purge - capabilities Available/supported Purge all and by key Partially Purge per file and purge all
Analytics Available/supported Real-time! Available/supported Web analytics, threats and more
Log files Available/supported Real-time streaming of logs to your server Extra costs Only for Enterprise customers
API Available/supported Purge, analytics, configuration Available/supported Purge, analytics, configuration
HTTPS & Content Protection Fastly Cloudflare
CDN domain HTTPSUse the CDN's domain, like cloudfront.net Available/supported Free Available/supported SNI
Customer domain HTTPSYour domain in the CDN's certificate Extra costs $100/m per FQDN, $275/m for wildcard domain Extra costs More info
Customer cert HTTPSYour certificate on the CDN Extra costs EV cert possible. Extra costs
Token authentication Available/supported Enabling URL token validation Available/supported More info
Geo blocking Available/supported Available/supported Access Rules
Hotlink protectionThird parties cannot deeplink to your content Available/supported Creating and using Edge Dictionaries Available/supported
Basic authenticationUser logs in on the CDN to get content Available/supported Authenticating before returning a request Unknown
IP white/blacklisting Available/supported About Edge ACLs Available/supported Access Rules

Support

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