Back your WP Object Cache with Redis, a high-performance in-memory storage backend.
This plugin implements a variety of WP-CLI commands. All commands are grouped into the
wp redis namespace.
$ wp help redis NAME wp redis SYNOPSIS wp redis <command> SUBCOMMANDS cli Launch redis-cli using Redis configuration for WordPress debug Debug object cache hit / miss ratio for any page URL. enable Enable WP Redis by creating the symlink for object-cache.php info Provide details on the Redis connection.
wp help redis <command> to learn more about each command.
The best way to contribute to the development of this plugin is by participating on the GitHub project:
Pull requests and issues are welcome!
You may notice there are two sets of tests running, on two different services:
Both of these test suites can be run locally, with a varying amount of setup.
PHPUnit requires the WordPress PHPUnit test suite, and access to a database with name
wordpress_test. If you haven't already configured the test suite locally, you can run
bash bin/install-wp-tests.sh wordpress_test root '' localhost. You'll also need to enable Redis and the PHPRedis extension in order to run the test suite against Redis.
Behat requires a Pantheon site with Redis enabled. Once you've created the site, you'll need install Terminus, and set the
TERMINUS_ENV environment variables. Then, you can run
./bin/behat-prepare.sh to prepare the site for the test suite.
Requires: 3.0.1 or higher
Compatible up to: 4.7.1
Last Updated: 1 month ago
Active Installs: 2,000+
3 of 3 support threads in the last two months have been marked resolved.
Got something to say? Need help?