Redis

A faster WordPress with Redis object cache

Redis keeps the database results WordPress needs most often in the server's memory. We install it on Managed Cloud 3.0 and Reseller Cloud 3.0 servers on request, at no extra cost.

Technology

What we solve

Not every page can be stored in advance

Nginx caching serves ready-made pages to regular visitors lightning fast - but not every page can be prepared ahead of time.

When a user is logged in, the cart has products in it or a page is built from search results, WordPress builds the page from scratch every time and runs the same dozens of database queries over and over. Redis remembers the answers.

A slow dashboard

WordPress admin and content editing always happen logged in, bypassing the page cache. Redis cuts the load time of every admin view.

Online store cart and checkout

The WooCommerce cart, checkout and account pages are built separately for each customer. Redis lightens the database load of exactly these pages.

Logged-in users

Membership sites, online courses and intranets serve logged-in users, for whom page caching does not work. Redis speeds up exactly their pages.

Repeated database queries

Settings, menus, translations and plugin data are fetched from the database on every page load. Redis returns them straight from memory.

Traffic peaks

A visitor spike from a campaign or newsletter does not choke the database when most queries never reach it.

Heavy plugins

Page builders, membership and course plugins run lots of database queries. An object cache evens out the load they cause.

How it works

Three steps to a faster WordPress

We handle the server installation, the settings and connecting WordPress. You never need to log in to the server.

Redis is installed on your server as its own system service, protected with a password and listening only to connections from inside the server.

Request setup

Tell our customer service which Managed Cloud or Reseller Cloud server and sites you want Redis for.

We install Redis

We install the Redis service, protect it with a password, size its memory to your server and enable the PHP Redis extension in Plesk.

We connect WordPress

We install the Redis Object Cache plugin, add the connection settings to wp-config.php and enable the cache. Finally, we test that everything works.

WordPress plugin

Redis Object Cache connects WordPress to Redis

WordPress uses Redis through the Redis Object Cache plugin - the most popular Redis plugin on WordPress.org, with over 500,000 active installations.

WordPress's own object cache only lasts for a single page load. The plugin makes it persistent: data fetched once is ready in Redis on the next load. The plugin's screen shows the cache status and hit statistics, and the cache can be flushed with a single click when needed.

Plugin on WordPress.org
Free and established

An open-source plugin in the WordPress.org directory, actively developed and updated.

Statistics in the dashboard

See cache hits, response times and memory use right in the WordPress admin.

WP-CLI support

For developers: cache status, enabling and flushing also work from the command line.

Our setup

How we tune Redis for your server

Installing Redis is easy - good settings are what make it secure and reliable.

We follow the same refined procedure for every installation and size Redis's memory to your server's resources.

Redis

Password protection

Redis always requires a unique password, and it listens only to connections from inside the server - not the internet.

Sized memory

We reserve a suitable share of memory for Redis: typically 256 MB, less on smaller servers and more on larger ones.

Managed memory use

When the reserved memory fills up, the least used data makes way for new data. Redis never takes memory away from your sites.

System service

Redis runs as a system service that starts automatically with the server.

Own identifier for each site

Every WordPress gets its own database number and key prefix, so the sites' caches never get mixed up.

PHP Redis extension

We make sure the Redis extension is enabled in every PHP version in use on the server.

Benefits

Faster, lighter, steadier

Faster dynamic pages

The dashboard, checkout and logged-in views load faster.

A lighter database

Repeated queries are answered from memory, so the database copes better.

Handles peaks

Visitor spikes and campaigns slow your site down less easily.

Installed for you

We handle the server, the plugin and the settings - at no extra cost.

Availability

How do I get Redis?

Redis object cache is available for Managed Cloud 3.0 and Reseller Cloud 3.0 servers.

We install it on request at no extra cost - just like Cloudflare protection.

Managed Cloud 3.0

Your own server, your own Redis

The best fit for a server with a single site, or where all sites belong to the same customer. Redis serves only your sites.

Managed Cloud 3.0

Reseller Cloud 3.0

For the agency's own sites

On Reseller Cloud, one Redis is shared by all sites on the server. We enable it when the agency itself manages the sites using Redis - each site gets its own database number, up to 16 sites per server.

Reseller Cloud 3.0

Redis is a registered trademark of Redis Ltd. It is used on this page for referential purposes only and does not indicate any partnership with or endorsement by Redis Ltd.

Honestly

What Redis does not do for you

Does not replace the page cache

Nginx caching still serves ready-made pages to regular visitors. Redis complements it where the page cache cannot reach.

Does not fix slow code

If a plugin or theme runs heavy calculations or slow external calls, Redis will not remove them. Optimising the site is still needed.

Not for shared web hosting

A server's Redis is shared by all of its sites. That is why we do not offer it on web hosting where one server hosts many customers' sites.

FAQ

Questions about Redis

No. We install Redis object cache on Managed Cloud 3.0 and Reseller Cloud 3.0 servers on request, at no extra cost.

Nginx caching stores complete, ready-made pages and serves them to regular visitors without starting WordPress at all. Redis stores the results of WordPress database queries, which speeds up pages that cannot be stored whole: the dashboard, cart, checkout and logged-in users' views. You get the best result by using both.

A Redis server is shared by all sites on the same server, and its internal separation does not securely isolate different customers' data. That is why we only offer it on servers where all sites using Redis belong to the same customer or are managed by the same agency.

Yes. WooCommerce benefits from an object cache especially, as the cart, checkout and account pages are built separately for each customer.

Yes, when all the sites belong to the same customer or the agency manages them itself. Each site gets its own database number (0-15) and key prefix, so the caches stay separate. This way up to 16 sites on one server can use Redis.

The cache can be flushed or the Redis Object Cache plugin disabled in moments, and WordPress goes back to fetching data straight from the database. The cache only holds data WordPress can rebuild when needed, so no content is lost.

See also

More technology from Hostaan

Request Redis for your server

Do you have a Managed Cloud 3.0 or Reseller Cloud 3.0 server? Get in touch, and we will install Redis and connect it to your sites.

Request setup