Custom Integrations

WordPress & Redis Contractor

Fractional contractor support for businesses working with WordPress and Redis together.

MIT Technology Review Puck.news Cred.ai MIT TripAdvisor NetBrain

Redis is an in-memory data store that WordPress uses as a persistent object cache, so database query results are kept in fast memory and reused instead of being rebuilt on every uncached request.

Built in Production, Not Theory

I've been building custom WordPress integrations since 2008. That includes Redis work in production for clients like Jana, OneGuide and Cred.ai: real builds, not plugin installs.

Jana website built with WordPress and Redis
Full Portfolio

Redis Implementation Details

Redis was part of the build on 2 client projects, including OneGuide and Cred.ai.

  • OneGuide

    Performance architecture: Redis object caching keyed per site, reduced write pressure, and a system cron replacing WP-Cron.

  • Cred.ai

    Built track.cred.ai, a server-side conversion gateway the company owns outright: events queued through Redis to Meta, TikTok, Google Ads and X, with no vendor tag manager and no per-event billing.

Skills & Stack Used Alongside

  • Advanced Custom Fields
  • Crocoblock
  • Elementor
  • BuddyBoss
  • BuddyPress
  • FluentCRM
  • JetEngine
  • Leaky Paywall
  • LearnDash
  • miniOrange SAML
  • PapaParse
  • Query Monitor

Support

For teams running WooCommerce, membership or other heavy WordPress sites where slow database work needs diagnosing. I cover Redis object cache problems and find where caching is actually breaking down.

  • Redis connection diagnosis: Find out why a persistent object cache is not connecting to Redis, and work with the host to fix the configuration.

  • Hosting and caching review: Inspect how a site is hosted and what caching is actually in effect.

  • Server stack audits: Review PHP, MySQL, Varnish and Redis configuration and cache exclusion rules on managed hosting.

  • Page cache bypass fixes: Track down page cache bypasses, such as a WooCommerce cookie in a Varnish exclusion list, that Redis cannot fix.

Experience

My Redis work has been diagnostic, tied to performance work on two ecommerce sites. It has not been a standalone Redis project.

Chelsea Supplies (UK radiator, decking and fencing retailer on WooCommerce). In spring 2026 I was brought in to find out why the store's database work was so slow. As part of the server review I built a diagnostic to inspect how the site was hosted and what caching was actually in effect. That showed the persistent object cache was meant to be running through Redis but was not connecting. The cause was a connection configuration issue on the host's side, so I worked with the hosting provider to correct how the site reached Redis rather than changing anything blindly from the WordPress side. I told the client at the time that getting Redis working was one of the main remaining steps. That sat alongside other database work on the same engagement (an order storage migration to WooCommerce HPOS, added indexes and a plugin cleanup), which is where the measured drop in query times came from. My part was the Redis diagnosis and the coordination with the host.

BlackVue Australia (the Australian distributor of BlackVue dash cameras, a WooCommerce store behind Varnish and Cloudflare). In 2026 I ran a performance audit of their managed Cloudways hosting. The audit reviewed server resources, the PHP, MySQL, Varnish and Redis configuration, the cache exclusion rules and the application stack. Redis was active and healthy. The real cause of slow pages was elsewhere: a WooCommerce cookie that sat in the Varnish exclusion list was making most visitor sessions bypass the page cache. That is a useful reminder that Redis, as an object cache, cannot fix a full-page cache that is being bypassed. The resulting changes were made at the page-cache and application layers, not in Redis.

Approach

WordPress has a built-in object cache API (wp_cache_get, wp_cache_set and related functions). By default the cache lives only in PHP memory for a single request and is thrown away when the request ends. A persistent object cache replaces that with a store that survives between requests. Redis does this through a drop-in file, wp-content/object-cache.php, which WordPress loads automatically if it exists.

The standard way to get that drop-in is the official-directory plugin Redis Object Cache by Till Krüss (wordpress.org slug redis-cache). It is actively maintained, has more than 500,000 active installs, supports the PhpRedis extension, Predis and Relay clients, handles replication, sentinels and clustering, and ships WP-CLI commands (wp redis status, wp redis enable, wp redis disable, wp redis update-dropin). Connection settings are normally set with constants in wp-config.php (host, port, a unix socket path, scheme, a key prefix, and a switch that bypasses the cache without removing the drop-in). The same author sells a separate paid product, Object Cache Pro, a rewritten business-class backend with prefetching, analytics, compression and TLS support, aimed at larger WooCommerce and multisite installs.

Other paths exist. Some hosts provision Redis and install their own drop-in or their own plugin. Some cache plugins, LiteSpeed Cache for example, include their own Redis object cache connection. Redis can also be used outside WordPress core, for example by custom code or by a queue worker, but that is separate from the object cache.

Which of these I have used: the Redis Object Cache pattern on client hosting (diagnosing a failed connection) and Redis as part of a server stack audit. My work here has focused on diagnosis, not Redis-backed queues, sessions or custom Redis code.

Benefits

  • Faster dynamic pages. Pages that cannot be fully cached, such as carts, checkouts, account areas and admin screens, still run PHP and database queries. Redis keeps the results of repeated lookups in memory, so those requests do less work.

  • Less load on MySQL. Options, post meta, term lookups and transients are read from memory instead of the database on every request. On a large WooCommerce catalogue this is often the difference between a database that coasts and one that falls behind during a sale.

  • Headroom for traffic spikes. When an ad campaign or email send lands, lower per-request database work means the same server serves more concurrent visitors before it slows down.

  • A faster WordPress admin. The dashboard, product editing and order screens are all uncacheable by page caches. An object cache is one of the few levers that speeds them up.

  • Little ongoing maintenance. Once the connection is configured, the plugin and drop-in largely run themselves, and WP-CLI gives a quick way to check status, flush the cache or disable it while troubleshooting.

  • Visibility into what is cached. Status checks and, with the paid version, analytics let you confirm the cache is actually connected and hitting. This matters because a failed Redis connection often fails quietly, and the site just gets slower.

Fit

Use Redis when the site is dynamic and database-heavy: WooCommerce with a large catalogue or many orders, membership or LMS sites, high-traffic logged-in experiences, multisite, or any site where profiling shows repeated queries on every uncached request. It is also the natural choice when your host already provides it.

Consider alternatives when

  • The site is a brochure or blog served almost entirely from a page cache or CDN. Object caching adds little there. A good page cache (host-level Varnish or Nginx caching, LiteSpeed Cache, WP Rocket) does more.

  • Your host offers Memcached instead of Redis. WordPress has object cache drop-ins for it, and it is a fine choice for pure caching. Redis is preferred when you want persistence, richer data types or WP-CLI tooling.

  • Your host provides APCu only. A local in-process cache is simple, but it is not shared across PHP workers or servers.

  • You are on cheap shared hosting with no Redis service. The plugin cannot create one, and you would be adding a dependency you cannot run.

Pitfalls I have seen

  • Redis is installed on the server and the plugin is active, but the connection to it is misconfigured, so the cache silently does nothing. Always check wp redis status rather than assuming.

  • Owners expect Redis to speed up every page. If the real bottleneck is a bypassed page cache, slow third-party scripts or an under-indexed database, Redis will not fix it. Measure first.

  • Shared Redis instances without a unique key prefix can mix cache data between sites. Give each site its own prefix or database.

  • Memory limits and eviction policy need attention on busy stores. An undersized instance evicts useful data and loses most of the benefit.

  • After a migration or a host move, the stale drop-in or connection constants carry over and point at a service that no longer exists.

Overview

Working with WordPress and Redis provides faster database-heavy pages when set up correctly as a persistent object cache. Redis is an open source, in-memory data store that keeps data in RAM and answers requests in well under a millisecond. On WordPress it runs as a separate service next to PHP and MySQL, usually through the Redis Object Cache plugin. Valkey is a BSD-licensed fork.

FAQ

Answers to the most common questions I see asked by business owners,
CMOs and CTOs about Redis integrations with WordPress.

Does WordPress need Redis?

No. WordPress works without it and caches in PHP memory for each request. Redis becomes worthwhile on dynamic, database-heavy sites, such as WooCommerce stores and membership sites, where the same queries run again and again on pages that a page cache cannot serve.

What is the best Redis plugin for WordPress?

Redis Object Cache by Till Krüss is the standard free option, with more than 500,000 active installs. It installs the object cache drop-in and provides WP-CLI commands and a status screen. Object Cache Pro, from the same author, is a paid alternative for larger or more demanding sites.

What is the difference between Redis object caching and page caching?

A page cache stores the finished HTML of a page and serves it without running PHP at all. An object cache stores the results of individual database lookups so PHP can build uncached pages faster. They work at different layers and are best used together.

Will Redis make my WooCommerce store faster?

It usually helps cart, checkout, account and admin requests, which page caches cannot serve. It will not help if the main problem is something else, such as a bypassed page cache or unindexed database tables. I diagnose where the time is actually going before recommending it.

Does my hosting support Redis?

Many managed WordPress hosts offer Redis, either built in or as an add-on, but plain shared hosting often does not. Check your host's documentation or ask support. If Redis is available, you will need the connection details and, on some hosts, a socket path or password.

How do I know Redis is actually working?

Open the Redis Object Cache settings screen or run wp redis status. It should report the cache as connected. If the plugin is active but the status shows a connection error, the site is running without a persistent cache.

Is Redis still open source?

Redis 7.2 and earlier are BSD-licensed. Redis 8 can be used under AGPLv3, which is OSI-approved, as one of three license options. Valkey is a separate BSD-licensed fork, and the two are compatible for most WordPress object-cache use. Managed hosts decide which they run.

Can Redis cause problems on a WordPress site?

It can if misconfigured. A broken connection, a full or evicting instance, or a key collision between sites can cause stale data or slowdowns. Used correctly, with a unique prefix and monitoring, it is stable and low maintenance.

Scott Maxwell, Founder and Managing Partner at Openview Venture Partners
Kevin's ability as a web developer and consultant, along with his eagerness to add value, have been a tremendously valuable asset to our firm and investment companies. His in-depth knowledge of B2B technologies, and straight forward ideas and advice, have been a very strong asset for us.
Scott Maxwell Founder and Managing Partner
OpenView Venture Partners

Need help integrating Redis and WordPress?

If you're integrating your WordPress website with Redis I can help. Schedule a free consultation on Google Meet, or contact me by email directly.

By Email or

Additional Consulting Services

Custom integrations are one slice of a broader practice. I've spent 18+ years as a fractional engineer for marketing and product teams — designing, building, securing, and measuring WordPress platforms end to end.