Horje
Back your WP Object Cache with Redis, a high-performance in-memory storage backend. Wordpress Tutorial

Noted That:

  • To install correctly this wp-redis.zip .
  • Fisrt Download the wp-redis.zip to your computer
  • Extract/Open wp-redis.zip to Your Computer.
  • Then, Find readme.txt file inside wp-redis.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " wp-redis.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " wp-redis.zip "  Downloaded plugin from your computer, Where you downloaded wp-redis.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " WP Redis " folder is added on left sidemenu. Now, Click on " WP Redis " folder.

   Noted that: If you do not see " WP Redis " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  WP Redis Configurtions and Settings or How to work " WP Redis " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " WP Redis " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is WP Redis
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

This assumes you have a PHP environment with the required PhpRedis extension and a working Redis server (e.g. Pantheon). WP Redis also works with Predis via humanmade/wp-redis-predis-client .

  1. Install object-cache.php to wp-content/object-cache.php with a symlink or by copying the file.
  2. If you’re not running on Pantheon, edit wp-config.php to add your cache credentials, e.g.:

    
    $redis_server = array( 'host' =>
     '127.0.0.1', 'port' =>
     6379, 'auth' =>
     '12345', 'database' =>
     0, // Optionally use a specific numeric Redis database. Default is 0.
    );
    
  3. If your Redis server is listening through a sockt file instead, set its path on host parameter and change the port to null :

    
    $redis_server = array( 'host' =>
     '/path/of/redis/socket-file.sock', 'port' =>
     null, 'auth' =>
     '12345', 'database' =>
     0, // Optionally use a specific numeric Redis database. Default is 0.
    );
    
  4. Engage thrusters: you are now backing WP’s Object Cache with Redis.

  5. (Optional) To use the wp redis WP-CLI commands, activate the WP Redis plugin. No activation is necessary if you’re solely using the object cache drop-in.
  6. (Optional) To use the same Redis server with multiple, discreet WordPress installs, you can use the WP_CACHE_KEY_SALT constant to define a unique salt for each install.
  7. (Optional) To use true cache groups, with the ability to delete all keys for a given group, register groups with wp_cache_add_redis_hash_groups() , or define the WP_REDIS_USE_CACHE_GROUPS constant to true to enable with all groups. However, when enabled, the expiration value is not respected because expiration on group keys isn’t a feature supported by Redis.
  8. (Optional) On an existing site previously using WordPress’ transient cache, use WP-CLI to delete all ( %_transient_% ) transients from the options table: wp transient delete-all . WP Redis assumes responsibility for the transient cache.

back , object , cache , redis , high , performance , memory , storage , backend , tutorial ,

Name

Read Article
https://develop.horje.com/learn/1434/reference