
Every public website has two problems it cannot solve on its own server. The first is distance: a visitor in Sydney waits longer for a page hosted in Frankfurt than a visitor next door. The second is hostility: bots, scrapers and denial-of-service attacks arrive whether the site is ready or not. Cloudflare addresses both by putting a global network in front of the site, so traffic is cached, filtered and accelerated before it ever reaches the origin.
This article explains what Cloudflare is, how its network works, what it is used for, when it is the right layer to add, and how it compares with other CDN, security and edge platforms.
What is Cloudflare?
Cloudflare is a connectivity cloud: a global network that sits between users and the applications they reach, providing content delivery (CDN), DNS, DDoS protection, a web application firewall (WAF), Zero Trust access for employees, and a serverless platform for running code close to users.
The company was founded in 2009 by Matthew Prince, Lee Holloway and Michelle Zatlyn, who had earlier built Project Honey Pot, an open project that tracked online fraud and abuse. After a private beta that started in June 2010, Cloudflare launched its service publicly on 27 September 2010 on stage at TechCrunch Disrupt in San Francisco. It went public on the New York Stock Exchange in September 2019.
The original product was a simple proposition: change your domain's name servers to Cloudflare, and your site becomes faster and harder to attack, with a free plan to start. Over the years the same network has been extended to the public DNS resolver 1.1.1.1, launched in April 2018, to the Workers serverless platform, first announced in 2017, and to a full Zero Trust suite for corporate networks.
How Cloudflare works
A reverse proxy in front of your origin. When a domain uses Cloudflare, its DNS points visitors to Cloudflare's network instead of directly to your server. Cloudflare accepts the connection, decides what to do with the request, and only forwards what needs to reach the origin. Your server's real IP address stays hidden.
Anycast routing. The same IP addresses are announced from Cloudflare's data centres in hundreds of cities, so internet routing delivers each visitor to the nearest one. That keeps latency low and also spreads an attack across the whole network instead of one location.
Cache at the edge. Static files such as images, scripts and stylesheets, and optionally whole pages, are cached in those data centres. Repeat requests are answered from the edge, which reduces both load time and the traffic your origin has to serve.
Inspection on the way through. Every request passes the security layers you have switched on: DDoS mitigation, WAF rules including managed rules for common OWASP attack classes, rate limiting, bot detection and access policies. Malicious traffic is dropped at the edge.
Code at the edge. Cloudflare Workers runs JavaScript, TypeScript and WebAssembly in the same data centres, so you can rewrite requests, run APIs or serve whole applications without managing servers.
Key features
- CDN and caching with tiered caching, cache rules and instant purge.
- Authoritative DNS with DNSSEC, and the public 1.1.1.1 resolver for end users.
- DDoS protection at the network and application layers, included on all plans.
- Web application firewall with managed rule sets, custom rules and rate limiting.
- Bot management and Turnstile, a CAPTCHA alternative that verifies visitors without puzzles.
- SSL/TLS certificates issued and renewed automatically.
- Zero Trust: Access for identity-aware application access, Gateway for secure web browsing, and Tunnel for exposing private services without opening inbound ports.
- Developer platform: Workers, Pages, R2 object storage, KV, D1 and Durable Objects.
Where Cloudflare is used
- Websites and e-commerce that need fast global delivery and protection from bots and attacks.
- APIs and mobile backends, protected by rate limiting, API schema validation and WAF rules.
- Corporate networks that replace VPNs with Zero Trust access to internal tools.
- Edge applications: redirects, A/B tests, personalisation and full applications on Workers.
- Origins behind private networks, exposed through Cloudflare Tunnel rather than public IPs, often in front of servers running NGINX.
Cloudflare has also been moving into infrastructure for AI agents; we looked at one of those steps in Cloudflare Kitesurf: what a browser built for AI agents changes.
When to choose Cloudflare, and when not to
Choose Cloudflare when:
- Your users are spread across countries and page speed matters.
- The site or API is a target, or could become one, for DDoS attacks, credential stuffing or scraping.
- You want DNS, CDN, WAF and TLS from one place, configured from one dashboard or with Terraform.
- You want to give employees access to internal tools without running a VPN.
Think twice when:
- Your entire stack lives in one cloud and that cloud's own CDN and WAF already cover the need, such as AWS CloudFront with AWS WAF or Azure Front Door. One fewer vendor is simpler to operate and audit.
- Data residency or compliance rules forbid a third party from terminating TLS for your traffic. As a reverse proxy, Cloudflare decrypts traffic to inspect and cache it; for regulated data this must be reviewed and covered contractually.
- You would be adding a single point of dependency without a fallback. Because so much of the internet runs through it, a Cloudflare incident is visible everywhere; critical services should know how they would fail over.
- The application is internal-only and never reaches the public internet.
Cloudflare and its alternatives
| Platform | Focus | Best fit |
|---|---|---|
| Cloudflare | CDN, security, Zero Trust and edge compute in one network | Most public websites and APIs, mixed infrastructure |
| Akamai | Enterprise CDN and security | Large enterprises with complex media and security needs |
| Fastly | Programmable CDN and edge compute | Teams that want fine control over caching logic |
| AWS CloudFront + WAF + Shield | Cloud-native CDN and protection | Workloads that already live on AWS |
| Azure Front Door / Google Cloud CDN and Armor | Cloud-native CDN and WAF | Workloads on Azure or Google Cloud |
Cloudflare's distinguishing trait is breadth: one network and one configuration for DNS, CDN, security, Zero Trust and serverless code, with a free tier that makes it easy to start. Akamai remains strong in the largest enterprise and media estates, and Fastly appeals to teams that want to program caching in detail. Cloud-native options win when keeping everything inside one provider matters more than the extra features.
How we use Cloudflare at Internative
We use Cloudflare to improve the performance, availability and security of the projects we deliver. Its edge network, security features and reliable DNS help us build resilient applications that serve users well wherever they are, and OWASP guidance helps us decide which application-layer risks its rules need to cover.
If you want to know where your public surface is exposed, our infrastructure security team can review it, and our application security team can help harden the application behind it.
Frequently asked questions
What does Cloudflare do?
Cloudflare sits between visitors and a website or API. It caches content in data centres close to users so pages load faster, filters out attacks and abusive bots before they reach the server, manages DNS and TLS certificates, and can run code at the edge with Workers.
Is Cloudflare free?
Cloudflare offers a free plan that includes the CDN, DNS, universal SSL and unmetered DDoS protection, which is enough for many small sites. Paid plans add more WAF rules, image optimisation, advanced bot management, support and service-level commitments. Zero Trust and the developer platform have their own free tiers and paid plans.
Is Cloudflare safe?
Cloudflare is widely used by organisations of every size and is generally considered a reliable security provider. Using it does mean trusting it: as a reverse proxy it decrypts traffic to inspect and cache it. Review its data processing terms and regional data options if you handle regulated data.
Why is Cloudflare blocking me from a website?
The website's owner has security rules on Cloudflare that flagged your request. Common causes are a VPN or shared IP with a poor reputation, blocked browser features, automated tools, or too many requests in a short time. Disabling the VPN, allowing JavaScript and cookies, or contacting the site owner usually resolves it.
Can Cloudflare see my traffic?
For sites that use Cloudflare as a reverse proxy, Cloudflare terminates TLS and can technically see the requests it handles in order to cache and filter them. Cloudflare publishes how it processes and retains that data. Visitors cannot opt out; site owners decide whether to proxy traffic through it.
Keep reading
The articles that follow this one.



