FeaturesWP CloudPricingEE CLIContactMy Account

Features

Team Access & User Permissions

Server Setup & Management

Site Creation & Management

Deployments & Developer Tools

Firewall Protection

Speed & Caching

Backups & Recovery

Logs & Monitoring

Create WP Cloud Sites

All Features

Read Documentation

Install

Installation Guide

FAQ

Roadmap

Explore EE CLI

Resources

Commands

Handbook

Blog

Community

Forum

EasyExperts

Tutorials

Subscribe

Github

CLEAR

Start For Free

separator Tutorials separator WordPress separator Using Redis for WordPress Object-Cache

Topics

On this page

Redis Installation

WordPress Object Cache

WordPress Cache Salt/Prefix

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 – https://github.com/alleyinteractive/wp-redis


			cd /var/www/example.com/htdocs/wp-content
wget https://raw.githubusercontent.com/alleyinteractive/wp-redis/master/object-cache.php
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', 'example.com/subdir');
		

Related: https://easyengine.io/tutorials/php/redis-php-sessions/

Setup ElasticSearch with ElasticPress

PREVIOUS

WooCommerce Window Shopping Caching Technique

NEXT


Features

Useful Links

Product

Other Products

Subscribe for curated product updates, tips, and announcements.

"*" indicates required fields

Name

This field is for validation purposes and should be left unchanged.

Email*

SIGN ME UP

Δ


© rtCamp, since 2009. All rights reserved.

Powered by