Works like a charm !
-
All your need to do is install this plugin, install redis-server , php5-redis (optional) package in your server and you will have a redis server caching wordpress objects and queries.
The plugin comes bundled with predis library, so installing php5-redis is optional. But php5-redis package will get you PECL Library, which is supposedly better performer than predis library. Its a personal choice anyway.
You will need to edit wp-config to add constants like WP_REDIS_HOST, WP_CACHE_KEY_SALT, … etc. I am using a Aws Elasticahe Redis CLuster, So, I had to define these constants : WP_CACHE_KEY_SALT, WP_REDIS_HOST, Rest plugin defaults didn’t need any modifications.
WP_REDIS_CLIENT constant can help you set an CLient redis library of choice.
Remember all constants are to be defined in wp-config.php file.
Finally, a nice and stable plugin. The developer could add settings panel for wp-admin backend.
- The topic ‘Works like a charm !’ is closed to new replies.