Caching

WordPress page caching, set up properly.

Server-level cache, edge cache, plugin cache — chosen and tuned for your site, with no broken cart or checkout.

Page caching is the difference between a WordPress site that takes 800ms to respond and one that takes 30ms. It's also the cheapest, easiest performance win on the table — and yet it's set up wrong on the majority of WordPress sites we audit. Either there's no cache at all, or there's three caching plugins fighting each other, or the cache is breaking checkout, or the cache is so stale that price updates take six hours to appear.

The right approach is layered. Server-level caching (NGINX FastCGI cache or LiteSpeed cache) runs before PHP even starts and is 5–10x faster than any plugin-based cache. CDN edge caching (Cloudflare APO, Bunny Perma-Cache) pushes that HTML further out so visitors in Sydney get sub-100ms responses from a Sydney node. Plugin caching (WP Rocket, LSCache) sits underneath for hosts that don't support server-level cache. Object caching (Redis) handles the logged-in pages that page caching can't.

The tricky part is bypass rules. WooCommerce carts, checkout pages, account areas and admin must never be served from cache — every visitor must see their own data. We configure precise cookie-based bypass rules: cart cookies, checkout cookies, logged-in cookies, WooCommerce session cookies. Standard URL patterns (/cart, /checkout, /my-account, /wp-admin) are bypassed at the server level. Get any of this wrong and customers see each other's carts or admins see cached pages they can't update.

The other tricky part is invalidation — keeping the cache fresh after content updates. We configure granular purge rules so a product update invalidates that product's URLs, related category pages and the homepage if it's featured there, but not the entire site (which would defeat the cache). Scheduled posts trigger purge at publish time. Comment posting purges just the post's URL. Price updates purge product and category URLs.

What you get

Server-level cache

NGINX FastCGI cache or LiteSpeed cache configured. PHP never runs for cached pages. Sub-50ms TTFB.

Edge cache

Cloudflare APO or Bunny Perma-Cache for full HTML at the edge. Global sub-100ms responses.

Cookie-based bypass

Cart, checkout, account, admin, logged-in users all bypass cache cleanly. Tight cookie rules.

Granular purging

Product update purges product URLs, not the whole site. Comment purges that post only. Scheduled posts purge on publish.

Browser caching headers

Static assets cached aggressively in the browser with proper Cache-Control and ETag headers.

Compression

Brotli (preferred) or gzip for HTML, CSS and JS. 70%+ size reduction over the wire.

Get a free quote

Tell me about your project.

A few quick questions and I'll come back with a tailored quote — usually within one working day.

Step 1

What service do you need?

How it works

01

Audit

Current cache setup reviewed. Conflicts identified. Plan agreed.

02

Configure

Server cache, CDN, plugin cache layered correctly. Bypass and purge rules set.

03

Test

Cart, checkout, account, admin verified. No cross-customer data leaks. Stress-tested.

04

Monitor

Cache hit ratio tracked. Bypass and purge rules tuned as needed.

Book a call

Free 30-minute consultation

Walk through your project, get honest advice, leave with a clear plan. No pressure, no waffle.

FAQs

Frequently asked questions