Turning on Redis caching
Speed up a supported website by turning on Redis, a fast in-memory cache.
Redis is a fast, in-memory caching system that some applications (including WordPress, with the right plugin) can use to store frequently accessed information temporarily, making your site noticeably quicker to load for visitors. JSOPanel gives your account its own private Redis, reachable only from inside your own account and never over the network, so it can't be reached by any other account on the server.
Steps
- Click Databases in the sidebar.
- Find the Redis object cache card.
- Choose a Memory limit (64, 128, 256, or 512 MB).
- Click Enable Redis.
Once enabled, the card shows you a connection line for PHP, and for WordPress specifically, the two lines to add to your wp-config.php file: define('WP_REDIS_SCHEME', 'unix'); and define('WP_REDIS_PATH', '...'); with your own connection path filled in. To actually put these to use in WordPress, install an object-caching plugin that supports Redis (look for one that mentions Redis Object Cache support) and add these lines as its instructions describe.
wp-config.php to a different account or a different server, this path needs to be regenerated from that account's own Redis card, it won't work as-is.Is Redis right for your site?
Redis caching provides the biggest benefit to sites that are busy, database-heavy, or running WordPress with many plugins. A small, low-traffic site may not notice much difference. It's a safe feature to try: if it doesn't suit your setup, you can simply turn it back off with no lasting effect.
Turning it off
Return to the same Redis object cache card and click Turn off Redis. If you also want to remove whatever is currently cached, tick also delete cached data first. Turning it off may mean your application (or its caching plugin) needs to be reconfigured, or it may simply stop benefiting from the cache with no other effect.