Page cache and object cache are different jobs
WordPress Site Health even warns “You should use a persistent object cache” on sites that would benefit. Redis is the usual answer.
| Page cache | Object cache (Redis) | |
|---|---|---|
| Stores | Finished HTML pages | Results of database queries and computations |
| Helps | Anonymous visitors on public pages | Every request, including wp-admin, logged-in users, cart and checkout |
| On Cloud Ninza | Ninza Speed’s server page cache | Redis on Growth, Business and Pro plans |
| Use both? | Yes | Yes — they complement each other |
Why WordPress gets slow without one
Every WordPress request loads options, the active theme’s settings, menus, widgets, the current user and their permissions, then the content. Plugins add their own queries. Without a persistent object cache, WordPress keeps these answers only for the length of one request, then forgets them, so the next request asks the database again.
On a WooCommerce store this adds up fast: product prices, stock, variations, tax rules, shipping zones and the cart are read again and again. A page cache cannot help with cart, checkout and account pages, because they are different for every customer. An object cache can.
Set it up on Cloud Ninza, step by step
The PHP Redis extension is already installed on every PHP version on Cloud Ninza, so the plugin uses the fast native client.
- Dashboard → Databases → Redis → choose the WordPress project → Turn Redis on.
- In wp-admin: Plugins → Add New → search “Redis Object Cache” → Install Now → Activate.
- Copy the lines shown on the Redis page into wp-config.php, above “That’s all, stop editing”: WP_REDIS_HOST, WP_REDIS_PORT, WP_REDIS_PASSWORD and WP_REDIS_PREFIX.
- Settings → Redis → Enable Object Cache. The status should read Connected.
- Open Tools → Site Health: the persistent object cache recommendation disappears.
Measure the difference
Before switching it on, note the load time of a few slow pages: the wp-admin dashboard, the WooCommerce orders list, a product edit screen, the cart with items in it. Measure again after a few minutes of normal use (the cache fills as pages are visited). Query Monitor, a free plugin, shows the number of database queries per page — expect it to fall sharply on repeat views.
The Redis page in the Cloud Ninza dashboard shows memory used, keys and the hit rate. A healthy object cache has a high hit rate after warm-up; many evictions mean the plan’s Redis is full and an upgrade would help.
Use it with Ninza Speed
Ninza Speed’s server page cache answers anonymous visitors without starting WordPress at all. Redis makes every request that does start WordPress cheaper. Together they cover both: fast public pages, and a fast admin, cart and checkout. Both are managed from wp-admin, and neither conflicts with the other.
Troubleshooting
- Status “Not connected”: check that Redis is on in the dashboard and that the port and password in wp-config.php match the Redis page.
- Changes not showing after editing a setting: press Flush Cache in Settings → Redis (the plugin clears relevant keys automatically in normal use).
- Several WordPress sites on one plan: give each a different WP_REDIS_PREFIX (for example its domain) so their keys never mix.
- Moved to a Starter plan: Redis is not included there; deactivate the plugin’s object cache first, then the plugin.
Key takeaways
The short version, for anyone skimming:
- A page cache serves visitors; an object cache speeds up everything else in WordPress.
- Redis object caching helps wp-admin, logged-in users, cart, checkout and account pages most.
- On Cloud Ninza: turn Redis on, install Redis Object Cache, paste four lines, Enable.
- Use it together with Ninza Speed’s page cache.
- Included with WordPress Growth (64 MB), Business (128 MB) and Pro (256 MB) plans.
WordPress Hosting from ₹1,788/year
WordPress on India-hosted cloud servers, installed for you — the latest release or the version your site needs. Latest WordPress or your chosen version · PHP 8.3, 8.4 or 8.5 · Free SSL certificate.
Hosting from ₹149 a month on servers in India
WordPress, static HTML, PHP, Node.js, Python and Java plans with free SSL and your choice of version. Create your account, pick a plan and pay by UPI, card or netbanking; your hosting is created automatically and you get your login by email, usually within minutes.