An object cache stores the results of database lookups in memory, so WordPress can reuse them instead of asking the database again.
Disclosure: We earn a fee if you sign up through our links. It costs you nothing extra and doesn’t change what we recommend. (see our affiliate disclosure)
How it works in WordPress #
WordPress has an object cache built in, but by default it only lasts for one page load. The developer docs say “By default, the object cache is non-persistent”, and the data lives “in memory only and only for the duration of the request”. The next visitor starts from zero. You can swap in a lasting one “by placing files in the wp-content folder”. Redis is the common choice: the Redis Object Cache plugin “provides a persistent backend for the WordPress object cache”.
How it differs from a page cache #
A page cache, such as an edge cache, stores the whole finished page. That works for pages everyone sees the same. A basket or account page is different for each person, so it cannot be stored whole. An object cache still helps there, because the product details, settings and menus inside the page are the same for everyone.
Why it matters #
Fewer database trips mean each PHP worker finishes sooner. That matters most on shops, member sites and the WordPress admin, where little can be page cached.
What hosts said on 24 November 2026 #
- Rocket.net: “Rocket.net includes Redis for free.”
- Kinsta: Redis is an add-on; “The Redis caching add-on costs $100 per month per site.”
- WP Engine: an optional object cache; it did not say whether it uses Redis or Memcached.
- SiteGround: we found no Redis or Memcached wording on the pages we read.
How to check yours #
- Ask your host whether a persistent object cache, such as Redis, is switched on for your site, and whether it costs extra.
- Look in the wp-content folder for an object cache file placed there by your host or a plugin. With none, WordPress uses its one-request cache.
- Compare time to first byte on an uncached page before and after turning it on.
Our hosting page explains why we wanted Redis included.
Sources #
- WordPress developer reference: WP_Object_Cache, checked 24 November 2026
- Rocket.net WooCommerce hosting, checked 24 November 2026
- Kinsta Redis docs, checked 24 November 2026
- WP Engine cache support guide, checked 24 November 2026
Updated 24 November 2026 by URSY.com.
Cite this page: Object cache. URSY. Updated 26 November 2026. https://ursy.com/wiki/object-cache/ · Section links
Tools for this
- LiveHTTP Header Checker (cache, status, X-Robots-Tag)Run the check →
- LiveEdge Cache Checkeris this page served from cache?Run the check →
- LiveAI Readiness Checkeris your site ready for ChatGPT, Gemini, Claude? Score + fixesRun the check →
- LiveAI Bot Checkerwhich AI bots your robots.txt lets inRun the check →
- LiveRobots.txt Checker + Generatortest any address against your rules, or write new onesRun the check →
- LiveSchema Markup CheckerRun the check →
- ProCached-page visitorsReal people on edge-cached pages (the 40-50% others miss)In URSY Pro →
- ProEdge cache reportWhat share of pages and visitors the cache servesIn URSY Pro →