DNS, CDN, DDoS protection, and edge caching. Every project we ship sits behind Cloudflare as the first line of defense.
cloudflare.com ↗Cloudflare is the infrastructure layer between our clients' domains and the applications we build. DNS management, SSL termination, DDoS protection, and edge caching all run through Cloudflare. We configure it per-project: aggressive caching for static marketing sites, smart caching rules for dynamic applications, and security rules that block malicious traffic before it reaches the origin. Cloudflare's global network means every visitor hits a nearby edge node, reducing latency regardless of where the origin server lives.
Cloudflare provides security and performance that would cost significantly more to replicate with other providers. The free tier is generous enough for most projects, the DNS propagation is near-instant, and the DDoS protection is automatic. For our clients, this means their site stays up during traffic spikes, their domain is protected from common attacks, and their assets are served from the edge without additional CDN configuration.
Cloudflare Workers and edge logic in our stack
Cloudflare is more than DNS and a CDN for us. When logic needs to run before a request ever reaches the origin, we reach for Workers: lightweight functions that execute at the edge, close to the visitor. We use them for the jobs that belong in front of the application rather than inside it: redirect logic and URL rewrites, geolocation-based routing, bot filtering, A/B split assignment, and lightweight API proxying that keeps origin keys off the client. Because Workers run on Cloudflare's global network, that logic executes in milliseconds regardless of where the origin server lives, and it takes load off the application entirely. We keep the boundary clear, so edge logic stays edge logic and the application stays focused on what only it can do. For sites already sitting behind Cloudflare for security and caching, adding a Worker is a small step that removes a surprising amount of work from the origin.
Setting up Cloudflare for a production site, cutover included
Moving a live site behind Cloudflare is routine for us, and doing it without downtime is the whole skill. We start by importing the existing DNS records exactly, verifying every subdomain and mail record so nothing silently breaks when the nameservers change. We stage the caching and security rules in advance: cache levels tuned per content type, page rules for the paths that need special handling, SSL mode matched to the origin, and WAF and rate-limiting rules sized to the site's real traffic. Only once the configuration is validated do we move the nameservers, so the cutover is a switch rather than a scramble. After launch we watch the analytics to confirm cache hit rates and blocked-threat counts land where they should, then tighten rules from real data. The result is a site that stays up during traffic spikes, serves assets from the edge, and turns away malicious traffic before it costs origin resources.
How we set up Cloudflare
-
Import DNS
We replicate every existing DNS record, including subdomains and mail records, and verify them before touching nameservers so nothing breaks in the switch.
-
Stage rules
We configure caching by content type, SSL mode, page rules, and WAF and rate-limiting settings sized to real traffic, all staged before the cutover.
-
Cut over
We move the nameservers only after the configuration is validated, so going live is a clean switch with no gap in service for visitors.
-
Tune from data
After launch we watch cache hit rates and blocked-threat counts, then tighten the rules from real traffic instead of guesses.
DNS & Domain Management
Centralized DNS for all client domains with near-instant propagation and one-click DNSSEC.
Edge Caching & Performance
Static assets cached globally with custom cache rules per content type and automatic cache purging on deploy.
Security & DDoS Protection
Automatic threat mitigation, rate limiting, and WAF rules that block malicious traffic before it reaches the application.
Systems we pair Cloudflare with
Vercel
We run Cloudflare in front of Vercel for DNS and DDoS protection, tuning the two caching layers so they cooperate instead of double-caching or fighting over revalidation.
AWS
Cloudflare fronts DNS and security while AWS carries backend storage and compute, giving edge protection without moving the workloads off the platform built for them.
Railway
For backends hosted on Railway, Cloudflare handles DNS, SSL, and DDoS mitigation at the edge so the origin only sees clean, cached-where-possible traffic.
Node.js
When origin logic runs on Node.js, we offload redirects, routing, and bot filtering to Cloudflare Workers so the application server does less work.
