Think Build Implement Repeat
London, UK +44 7367 067226
WhatsApp FOLLOW f in X
WordPress

What Caching Does and Where It Goes Wrong

Last updated:

What each layer does

  • Page cache: stores the finished HTML so WordPress does not rebuild it
  • Object cache: stores database query results
  • Browser cache: tells returning visitors to reuse files they already have
  • CDN: serves static files from somewhere near the visitor

Page caching gives the largest gain by a wide margin on most sites.

Where it goes wrong

  1. Changes not showing — you are seeing the cached version
  2. Logged-in users seeing cached pages meant for visitors
  3. Carts and checkouts cached, which is genuinely damaging
  4. Forms failing because a security token was cached
Caching a shop's cart page is the classic disaster: customers see each other's baskets. Exclusion rules for cart, checkout and account pages are not optional.

Configure, do not just install

A caching plugin installed and left at defaults does a fraction of what it could. Exclusions, expiry times and what to preload all need setting for your site.

Fifteen minutes of configuration is worth more than the plugin choice.

Clearing it properly

  • Cache cleared automatically when content is published or updated
  • Someone knows how to clear it manually
  • Editors told that changes may take a moment to appear
  • Cleared after any plugin or theme change

Server-level beats plugin-level

Caching at the server, as good managed hosts provide, is faster and more reliable than a plugin doing the same job in PHP.

If your host offers it, use it and skip the plugin. One less thing to maintain.

Frequently asked questions

Why is my change not showing?

Cache, nine times out of ten. Clear it, then check in a private window before assuming anything is broken.

Which caching plugin is best?

Server-level caching if your host provides it. Otherwise any of the established plugins, configured properly.

Does caching break WooCommerce?

Only if cart, checkout and account pages are not excluded. Every serious caching setup handles that; check yours does.

Do we need a CDN as well?

Helpful for image-heavy sites and international audiences. Not a substitute for page caching.

Keep reading

Changes not appearing on the site?

It is almost always caching. Happy to check the configuration if it keeps happening.

Book a free 30-minute call Get a project estimate WhatsApp us

Related services

What we build for problems like this one

Web DevelopmentBusiness Automation