Redis is sold as a magic speed switch. In reality it caches one specific thing — database query results and transients — and whether that helps depends on how many queries your pages run and whether they can safely be reused across visitors.
What it caches
WordPress builds every page by querying MySQL. An object cache stores the results of those queries in memory so the next request skips the database. Redis (or Memcached) holds that cache outside PHP, so it survives between requests and can be shared across PHP workers.
It does not cache the HTML page itself. That is page caching (nginx fastcgi, LiteSpeed cache, a CDN). The two work together: page cache serves the request, object cache speeds up the requests that miss it.
When it clearly helps
- WooCommerce catalogues with many variations and filters.
- Membership or LMS sites where page cache cannot apply to logged-in users.
- Admin-heavy sites — the dashboard runs dozens of queries per screen.
- Sites with plugins that hammer
wp_optionsand transients.
When it does nothing — or hurts
- A brochure site with page cache and few queries. You are adding a service to maintain for no gain.
- WooCommerce carts if the cache is not cart-aware: customers see stale quantities. Use a plugin that flushes on cart changes, or keep carts out of the object cache.
- Low memory servers: Redis competes with MySQL for RAM and the kernel starts swapping.
Symptom to watch for: “my cart shows the wrong total after I change quantity” — usually an object cache key that ignores the session.
Sizing and config
Start with 128–256 MB maxmemory and allkeys-lru eviction for a cache-only instance. Set maxmemory-policy noeviction only if you use Redis for queues or sessions, because silent eviction there loses data.
redis-cli info memory | grep used_memory_human
redis-cli info stats | grep keyspace_hits
A hit rate under ~80% usually means the cache is too small, the TTL is too short, or something is flushing it constantly.
Setup order that works
- Fix the slow part first: enable page cache and check TTFB.
- Profile with Query Monitor — how many queries, which plugin.
- Add Redis only if queries remain high on uncached requests.
- Install one object-cache plugin (Redis Object Cache or LiteSpeed's), enable it, and watch hit rate for a week.
- Flush on deploy and on product/price changes if you run a store.
On our stack
We install Redis with a memory cap sized to the plan, wire the drop-in, and leave page caching to nginx or LiteSpeed. If you are on a 2 GB box, 128 MB for Redis is usually the right ceiling; on 4 GB, 256–384 MB. See WordPress hosting or the KVM VPS line.