Using Redis for WordPress Object-Cache

Redis Installation

Add repo which maintains latest redis

add-apt-repository ppa:chris-lea/redis-server

Install redis-server and php-binding

apt-get update
apt-get install redis-server php5-redis

WordPress Object Cache

We are using this object-cache plugin –

cd /var/www/
chown www-data: object-cache.php

WordPress Cache Salt/Prefix

Useful if you have multiple WordPress.

Inside wp-config.php

define('WP_CACHE', true);
define('WP_CACHE_KEY_SALT', '');


Book a strategy call
with our experts

No obligation. Limited slots.

Contact Form Business Enquiry

"*" indicates required fields

Please attach any RFP, project specification, or document that you would like to share.
Drop files here or
Max. file size: 50 MB.
    This field is for validation purposes and should be left unchanged.