The site needs faster delivery and protection from hostile traffic. Putting Cloudflare in front can help with both, provided the business understands which requests are proxied, what may be cached and how the origin is reached when the edge is involved.
Cloudflare can combine authoritative DNS, a global reverse proxy, CDN caching, TLS, DDoS mitigation, web application controls and edge code. Those products share a dashboard but solve different problems. Enabling the orange cloud is not an architecture or a tested security policy.
We define the intended edge behaviour route by route and keep an origin recovery path. The value is real when Cloudflare removes load and unwanted traffic without becoming an invisible source of customer failures.
Cloudflare DNS and Cloudflare proxying are separate choices
A DNS-only record returns the origin address and sends visitors directly there. A proxied record returns Cloudflare addresses so HTTP traffic passes through Cloudflare first. The proxy status documentation explains this distinction and the record types eligible for proxying.
That means a zone can use Cloudflare DNS without putting every service through the CDN. Mail, validation and specialist protocols often remain DNS-only. Web hosts can be proxied selectively.
We inventory every record before changing nameservers or proxy status. Subdomains used by APIs, webhooks, SSH or third-party services need an explicit route. A broad change can break certificate validation or expose a service through a proxy behaviour it was never tested against.
DNS ownership includes registrar access, DNSSEC decisions, export and a recovery contact. The account should belong to the business, with individual protected users rather than one shared agency login.
Cloudflare only caches what the policy makes cacheable
Cloudflare caches many static file extensions by default, but dynamic HTML does not become globally cached because the zone is proxied. Its default cache behaviour is specific about eligible methods, statuses, extensions and headers.
We start from origin Cache-Control and content-hashed assets. HTML edge caching is added only for routes that are public and whose cookies, query strings, languages and preview modes are understood. WordPress administration, customer accounts, baskets and checkout require deliberate bypass rules.
A useful test records CF-Cache-Status, response age and origin traffic for a warm request. It then signs in, changes content and repeats the route. A high cache-hit ratio is harmful if customers receive another person’s page or yesterday’s price.
Purge belongs in deployment and publishing. Clearing the entire zone may be a safe first route at small scale; precise tags or URLs become more valuable as the cache and update frequency grow.
The origin must remain authenticated and reachable
If attackers can discover the origin address and connect to it directly, they can bypass edge WAF and rate rules. Origin protection may use provider firewall ranges, a private tunnel or authenticated origin connections, depending on hosting.
Cloudflare’s Authenticated Origin Pulls let an origin validate that an HTTPS connection came through Cloudflare. That control still needs a plan for legitimate direct administration, health checks and certificate rotation.
Locking down too early can also cause an outage. We verify how Cloudflare addresses are maintained, whether the host supports automated firewall changes and how engineers reach the origin for diagnosis. The bypass route should be controlled and documented. A public DNS name pointing at the origin would defeat the design.
The origin remains responsible for application security. Blocking common scans at the edge does not repair vulnerable code, weak credentials or an outdated plugin.
TLS mode decides whether encryption reaches the server
Cloudflare presents an edge certificate to visitors. The SSL/TLS mode controls how it connects onward. “Flexible” leaves the Cloudflare-to-origin leg on HTTP and commonly creates redirect confusion when the origin expects HTTPS.
We use an encrypted origin connection and prefer validation of the origin certificate. Cloudflare’s encryption-mode documentation distinguishes Full and Full (strict), including the certificate checks made in strict mode.
Certificate expiry and hostname coverage still need ownership. Cloudflare Origin CA certificates are intended for connections through Cloudflare; browsers will not trust them during a direct bypass. A publicly trusted origin certificate can make emergency access easier, while a private origin route can reduce that need.
Redirects are tested at the edge and origin together. Two well-intended HTTPS redirects can loop if each layer sees a different scheme.
WAF and rate rules need business traffic examples
Managed WAF rules can stop known attack patterns before they consume origin capacity. Custom rules can challenge or block traffic based on path, method, country, address or other request properties. Rate controls can protect login, search and expensive APIs.
Rules written from a generic list can also block payment webhooks, monitoring, search crawlers, office VPNs or customers behind shared networks. We begin in log or managed-challenge modes where suitable, inspect matches and define exceptions narrowly.
The Cloudflare WAF concepts describe managed and custom rules, but the business must decide acceptable false positives. A checkout rejection and a blocked content scraper carry different costs.
Security settings change through the same review route as application releases. Every rule needs a purpose, owner and expiry or review date. Temporary incident blocks otherwise become permanent undocumented policy.
Edge features add another production release surface
Workers, redirects, transforms, image optimisation and bot products can remove origin work. They can also spread application behaviour between repository, dashboard and provider APIs.
We keep configuration as code where practical, restrict production permissions and log material changes. Runbooks record how to bypass cache, trace a request to origin and identify whether a response was generated at the edge.
Observability must join Cloudflare and origin data. A customer error may have a Ray ID but no application request because the edge blocked it. Conversely, a slow cache miss needs both edge timing and origin trace. Server monitoring should cover both sides.
Provider outage and account loss are realistic failure modes. The recovery plan can be as simple as controlled DNS-only records and current origin capacity, but it needs a tested route and the credentials to enact it.
Questions to answer before proxying through Cloudflare
- “Which hostnames and protocols should be proxied?” Do not treat the zone as one behaviour.
- “Which responses are public and safe to cache?” Define keys, bypasses and purge.
- “Can traffic reach the origin without Cloudflare?” Decide whether and how to restrict it.
- “Which TLS mode and certificate protect the origin hop?” Avoid ambiguous encryption.
- “What legitimate automation could WAF or rate rules block?” Test webhooks, crawlers and monitoring.
- “Where are edge changes reviewed and recorded?” Keep the dashboard out of shadow production.
- “How would the business restore direct service?” Retain DNS, origin and account control.
When Cloudflare is a useful edge layer
Choose Cloudflare when a public web service benefits from distributed static delivery, DDoS absorption, managed application controls or an edge close to a geographically broad audience. It is particularly effective when the origin is protected and cacheable traffic is significant.
The approval should name cache policy, TLS mode, origin access, rules and logs. A modest, measured configuration often creates more value than enabling every product in the dashboard.
When Cloudflare adds a boundary without enough benefit
Keep DNS-only service or the existing hosting edge when the audience is close to a capable origin, traffic is modest and the extra proxy does not solve a measured problem. A free plan still adds a layer someone has to understand and maintain.
Do not cache dynamic account or commerce pages merely to raise a hit-rate graph. Correctness and privacy take priority over edge offload.
And pause if the organisation cannot recover its account, export DNS or serve from the origin, because the whole service then depends on credentials nobody controls.
Use Cloudflare for named edge jobs, with the origin and recovery route still understood.
I put Cloudflare in front when caching, traffic protection or edge control solves a measured problem. I want cache bypasses, strict origin TLS, legitimate automation and account recovery tested before calling the site protected. If nobody can say whether a response came from Cloudflare or the application, the edge is too opaque.
Alexander De Sousa · Founder, Digital Royalty · LinkedIn
What changes when Cloudflare becomes part of every web request
Proxying can improve reach and absorb unwanted load. DNS, cache, TLS, origin access and security rules become one customer-facing operating boundary.
The Cloudflare commitment in six decisions
- Best fit
- Public web services needing global static delivery, DDoS mitigation, managed application controls or programmable edge behaviour.
- Customer effect
- Faster cacheable delivery and filtered hostile traffic, with risk of stale pages or false blocks when policies do not reflect application state.
- Adoption cost
- Low for DNS and basic proxying; moderate as custom cache, WAF, Workers, logs and protected origin access become production dependencies.
- Ongoing owner
- A web or infrastructure team responsible for the account, DNS, certificates, cache policy, security rules, edge code, logs and incident bypass.
- Exit cost
- Low for standard DNS, CDN and WAF settings; higher when application behaviour and data have moved into Workers and provider-specific products.
- Proof required
- Cache-hit and bypass tests, strict origin TLS, a legitimate webhook through the WAF, direct-origin restrictions and a documented DNS recovery.
Edge routes to compare before proxying the zone
-
Cloudflare DNS without proxying
Right when: Authoritative DNS is useful but traffic should remain direct because of protocol, hosting or diagnostic requirements.
Watch for: DNS-only records expose their destination and receive no HTTP cache or security controls from Cloudflare.
-
Cloudflare proxy with restrained policies
Right when: CDN and edge protection solve a clear public-web need without moving substantial application logic away from the origin.
Watch for: Test cache, headers and WAF against signed-in, dynamic and automated traffic.
-
Cloud provider CDN and load balancer
Right when: The application already depends on one cloud and native identity, origin and observability integration outweigh a separate edge provider.
Watch for: Provider-native does not remove cache keys, certificate, WAF or cost ownership.
-
Direct origin with application controls
Right when: A capable nearby origin serves modest traffic and browser or reverse-proxy cache policy already meets the measured requirement.
Watch for: Capacity, DDoS exposure and certificate operation remain with the origin team.
Research behind this Cloudflare position
-
Official DNS architecture
Cloudflare proxy status
Distinguishes proxied and DNS-only records and identifies which host records can pass through Cloudflare's HTTP edge.
-
Official cache reference
Cloudflare default cache behaviour
Documents methods, statuses, extensions and headers considered by default, countering the assumption that all proxied HTML is cached.
-
Official encryption
Cloudflare SSL/TLS encryption modes
Explains how Cloudflare connects to the origin and which modes validate its certificate, making end-to-end encryption an explicit choice.
-
Official origin control
Authenticated Origin Pulls
Provides mutual TLS-based validation of Cloudflare connections at the origin; firewall and recovery access still require design.
-
Official security model
Cloudflare WAF concepts
Separates managed and custom rules and shows the configurable security layer that needs application-specific false-positive testing.
-
Web standard reference
MDN HTTP caching guide
Explains shared and private cache semantics independent of Cloudflare, keeping origin headers and customer privacy central to policy.
-
Community cache lesson
Reddit: discovering a CDN was not caching
A practitioner found assumed caching absent and discusses deployment purges. It is anecdotal support for verifying status headers and origin load.
-
Community rule review
Reddit: reviewing small-site Cloudflare security rules
The discussion raises crawler, form, API and monitoring false positives. It is a useful checklist, not authoritative rule configuration.
Tell us what you need
A few quick questions, then a straight answer from a real person — usually within a few hours.
What happens next
- 1 We reply A real person reads your answers and gets back to you, usually within a few hours.
- 2 Questions or a short call If anything isn't clear, we ask by email or book a short call. Before any call we audit your website and make the quick fixes it finds, free.
- 3 Your fixed quote A clear, fixed price in writing, within 48 hours of any call. There is no obligation to go ahead.
Tell us what you're working on
Whether it's a new site, a platform, or a process that shouldn't be manual any more — we'll tell you honestly if we can help.