How to set up the Redis Object Cache plugin in WordPress on your Simply.com host
Redis Object Cache plugin uses Redis for caching, which can provide better performance, especially on larger and heavy websites with a lot of cached data accessed on every page load. Since Redis is not available for all customers and requires individual configuration, it must be set up manually.
You can find your Redis details in Our Control Panel in the left‑hand menu under Redis. This is also where you can create a Redis instance if you haven’t done so already.
wp-config.phpTo configure Redis Cache, add the following lines to the top of your wp-config.php file:
define('WP_REDIS_HOST', '<hostnavn>');
define('WP_REDIS_PORT', <port>);
define('WP_REDIS_DATABASE', 0);
define('WP_REDIS_PASSWORD', '<password>');
Replace <port>, <hostnavn> and <password> with the relevant details for your Redis instance.
After installing and activating Redis you can check whether Redis Cache is working correctly by navigating to Settings → Redis in the WordPress admin panel. It should indicate that it is connected.
Article from the support category: PHP