@@ -4,11 +4,11 @@ Cache Wordpress using Redis, the fastest way to date to cache Wordpress.
...
@@ -4,11 +4,11 @@ Cache Wordpress using Redis, the fastest way to date to cache Wordpress.
### Requirements
### Requirements
------
------
[Wordpress](http://wordpress.org) - CMS framework/blogging system
*[Wordpress](http://wordpress.org) - CMS framework/blogging system
[Redis](http://redis.io/) - Key Value in memory caching
*[Redis](http://redis.io/) - Key Value in memory caching
[Predis](https://github.com/nrk/predis) - PHP api for Redis
*[Predis](https://github.com/nrk/predis) - PHP api for Redis
### Setup
== Installation ==
------
------
Install Redis, must have root access to your machine. On debian it's as simple as:
Install Redis, must have root access to your machine. On debian it's as simple as:
```bash
```bash
...
@@ -19,8 +19,10 @@ On other systems please refer to the [Redis website](http://redis.io/).
...
@@ -19,8 +19,10 @@ On other systems please refer to the [Redis website](http://redis.io/).
Move the folder wp-redis-cache to the plugin directory and activate the plugin. In the admin section you can set how long you will cache the post for. By default it will cache the post for 12 hours.
Move the folder wp-redis-cache to the plugin directory and activate the plugin. In the admin section you can set how long you will cache the post for. By default it will cache the post for 12 hours.
Note: This plugin is optional and is used to refresh the cache after you update a post/page
Note: This plugin is optional and is used to refresh the cache after you update a post/page
Move the `index-wp-redis.php` to the root/base Wordpress directory
Move the `index-wp-redis.php` to the root/base Wordpress directory.
Change the `index.php` to:
Move the `index.php` to the root/base Wordpress directory. Or manually change the `index.php` to:
Description: Cache Wordpress using Redis, the fastest way to date to cache Wordpress.
Version: 1.0
Version: 1.0
Author: Benjamin Adams
Author: Benjamin Adams
Author URI: http://dudelol.com
Author URI: http://dudelol.com
...
@@ -36,16 +36,15 @@ function edit_redis_options() {
...
@@ -36,16 +36,15 @@ function edit_redis_options() {
<h2>Wp-Redis Options</h2>
<h2>Wp-Redis Options</h2>
<formmethod="post"action="options.php">
<formmethod="post"action="options.php">
<?phpwp_nonce_field('update-options')?>
<?phpwp_nonce_field('update-options')?>
<p>This plugin does not work out of the box and requires additional steps. Please follow these install instructions: <atarget='_blank'href='https://github.com/BenjaminAdams/wp-redis-cache'>https://github.com/BenjaminAdams/wp-redis-cache</a></p>
<p>If you do not have Redis installed on your machine this will NOT work! </p>
<p><strong>Seconds of Caching:</strong><br/>
<p><strong>Seconds of Caching:</strong><br/>
How many seconds would you like to cache? *Recommended 12 hours or 43200 seconds <br/>
How many seconds would you like to cache? *Recommended 12 hours or 43200 seconds <br/>