Cloudflare setup

Stop Hitting Your Origin Server for Every Single Request

I configure Cloudflare caching the right way, so your site loads from 300+ edge locations instead of your origin on every visit. Page rules, cache rules, APO, and Workers, set up for your exact stack. Most people set up Cloudflare wrong and it quietly makes things slower. A misconfigured CDN is worse than no CDN.

800+Brands served via Gatilab
18+Years building WordPress
300+Cloudflare edge locations
5+Test locations per setup

Most Cloudflare setups hurt performance

🚫

Cache bypass everywhere

Default settings don’t cache HTML. Your origin handles every visit and TTFB stays high. You’re proxied, but nothing is actually cached.

⚔️

Rules fighting rules

Page rules override cache rules, or both fight each other. Visitors get stale content while fresh pages never cache at all.

🔓

Broken sessions

Cache serves logged-in content to anonymous visitors. WooCommerce carts and user dashboards leak across sessions.

🍪

Cookies killing cache

No cookie exclusion rules, so every logged-in session poisons the cache and your hit ratio sits near zero.

🌀

No purge strategy

You update a page and the old version lingers for hours because nothing automatically invalidates the cache.

📉

Zero visibility

No cache hit ratio, no TTFB tracking, no idea whether Cloudflare is helping or hurting until a customer complains.

What you get

A Cloudflare config tuned to your exact stack, tested on staging, with before/after numbers you can actually read.

  • Full audit of your current Cloudflare rules and cache behavior
  • Page rules and cache rules configured for your exact stack
  • Cloudflare APO activation and validation for WordPress
  • Cache hit ratio report with before/after TTFB numbers
  • Workers-based edge logic for dynamic content handling
  • Cookie exclusion rules so logged-in users bypass cache
  • Cache purge strategy with automated invalidation hooks
  • Monitoring setup to track cache performance over time

What changes after

Origin hit on every requestServed from 300+ edge locations
High, swinging TTFBConsistent low TTFB worldwide
Carts leaking across usersLogged-in traffic safely bypassed
Stale pages for hoursAutomated purge on every update

How I work

1

Audit

I review your Cloudflare config, DNS, page rules, and cache headers. Most problems are obvious within 30 minutes.

2

Plan

I map which URLs need full-page caching, which need bypass rules, and where Workers can handle edge logic your server shouldn’t touch.

3

Configure

I set up cache rules, APO, Workers, and purge hooks. Everything is tested on staging before it touches production.

4

Validate

I measure TTFB, cache hit ratios, and load times from 5+ global locations. You get a before/after report with hard numbers.

A CDN that helps instead of hurts

I audit 3-4 Cloudflare setups every month and the story repeats: free plan active, DNS proxied, nothing cached. Or worse, rules conflict, cookies break sessions, and logged-in users see someone else’s dashboard. Caching is only safe when the exclusion rules are right, which is exactly the part most tutorials skip.

Cloudflare is one layer. For the full picture I also handle performance optimization, AWS hosting setup, and security hardening.

Let’s fix your Cloudflare setup

Send me your domain and current config. I’ll find what’s broken and rebuild your caching with before/after numbers to prove it.

Start a project →