Skip to content

Cloudflare versus Fastly

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

Cloudflare logo Fastly logo

Company

Company Cloudflare Fastly
Short profile 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. 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.

Products

Product Cloudflare Fastly
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? Not available/supported Available/supported
Video on demandDelivery of on demand video Partially Available/supported
Image OptimizationAutomatic image compression/optimization Available/supported Available/supported
DNSAuthoritative DNS for customer domain Available/supported Not 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 Not available/supported Available/supported

Network

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

Pricing

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

Features

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

Support

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