• This repository has been archived on 04/Sep/2018
  • Stars
    star
    198
  • Rank 196,281 (Top 4 %)
  • Language
    PHP
  • Created over 11 years ago
  • Updated over 7 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A WordPress object cache that uses Redis for storage.

Overview

A WordPress object cache backend that implements all available methods using the Redis PECL library.

Authors

  • Eric Mann
  • Erick Hitter

Installation

  1. Install and configure Redis. There is a good tutorial here.
  2. Install the Redis PECL module.
  3. Add object-cache.php to the wp-content directory. It is a drop-in file, not a plugin, so it belongs in the wp-content directory, not the plugins directory.
  4. By default, the script will connect to Redis at 127.0.0.1:6379. See the Connecting to Redis section for further options.

Connecting to Redis

By default, the plugin uses 127.0.0.1 and 6379 as the default host and port when creating a new client instance; the default database of 0 is also used. Three constants are provided to override these default values.

Specify WP_REDIS_BACKEND_HOST, WP_REDIS_BACKEND_PORT, and WP_REDIS_BACKEND_DB to set the necessary, non-default connection values for your Redis instance.

Prefixing Cache Keys

The constant WP_CACHE_KEY_SALT is provided to add a prefix to all cache keys used by the plugin. If running two single instances of WordPress from the same Redis instance, this constant could be used to avoid overlap in cache keys. Note that special handling is not needed for WordPress Multisite.

More Repositories

1

wp-session-manager

Session manager for WordPress
PHP
268
star
2

sessionz

PHP library for smarter session management in modular applications
PHP
57
star
3

vvv-apache

Apache-based fork of 10up's Varying Vagrant Vagrants configuration
Shell
56
star
4

dynamic-cdn

Dynamic CDN for front-end assets
PHP
36
star
5

grunt-wp-underscores

Create a new Underscores-based theme using grunt-init
JavaScript
29
star
6

speed-logger

Log network speed to a CSV routinely.
JavaScript
28
star
7

WP-Publication-Archive

Allows users to upload, manage, search, and download publications, documents, and similar content (PDF, Power-Point, etc.) in WordPress.
PHP
28
star
8

WP-PowerShell

Windows PowerShell wrapper for WordPress CLI tools.
PowerShell
27
star
9

WP-Core-Contributions-Widget

Display a list of your core contributions to the WordPress project in your WordPress sidebar.
PHP
19
star
10

MVPress

MVC-style refactoring of `get_template_part()` for WordPress.
PHP
19
star
11

openconnect-vm

Vagrant configuration for a SOCKS5 proxy to an OpenConnect VPN.
Shell
19
star
12

secure-xmlrpc

Secure wrapper around WordPress' XML-RPC interface.
PHP
17
star
13

gReader-Library

PHP Library for Google Reader
PHP
14
star
14

dovedi

Time-based One Time Password authentication for WordPress.
PHP
10
star
15

perfpress

CLI performance testing for WordPress
PHP
8
star
16

Stacked

WordPress theme (based on Genesis) and supporting plugin for creating a stacked page layout.
PHP
6
star
17

custom-permalinks

Set custom permalinks on a per-post, per-tag or per-category basis.
PHP
5
star
18

WP-JS-Hooks

A lightweight & efficient EventManager for JS in WP.
JavaScript
4
star
19

secure-messaging

PHP
4
star
20

monkeys

JavaScript
4
star
21

totp

A PHP library for TOTP support in PHP 7.2+.
PHP
4
star
22

eisago

Synchronous vs Concurrent vs Concurrent Parallel data import tutorial
PHP
4
star
23

unmask

Expose support for WordPress
PHP
3
star
24

MiniPress

Automatically concatenate, minify, and cache JavaScript files for performance.
PHP
3
star
25

ericmann.github.io

Public repository for my personal portfolio and resume
HTML
3
star
26

slack-autoresponder

Serverless application for automatically replying to Slack DMs.
JavaScript
3
star
27

JS-Banner-Rotate

JavaScript rotating banner for WordPress
PHP
3
star
28

marmoset

PHP demonstration of the infinite monkey theorem
PHP
2
star
29

htaccess-converter

Convert a CSV of root-relative redirects to a set of .htaccess rewrites.
JavaScript
2
star
30

monkeys-in-the-machine

Monkeys typing Shakespeare ... asynchronously!
CSS
2
star
31

wp-plugin-boilerplate

Basic Plugin Framework
PHP
2
star
32

jQuery-Combobox

Combobox plugin for jQuery
2
star
33

docker

Dockerfiles for production and profit
Shell
2
star
34

Rotating-Image-Widget

Create a jQuery-driven rotating image sidebar widget.
PHP
2
star
35

ircBot

An open-source IRC bot written in PHP. Handles plugins, database support and cron-based tasks.
PHP
1
star
36

itinerant-jenkins

Vagrant configuration for Jenkins
Shell
1
star
37

bibifi

JavaScript
1
star
38

Watermark-Mini-Site-Theme

PHP
1
star
39

date-parse

Parser for arbitrary date formats
PHP
1
star
40

lansare

Project deployment tracking from the command line
JavaScript
1
star
41

EAMann-Theme

Theme for www.eamann.com.
PHP
1
star
42

php-security-tut

PHP
1
star
43

Daily-Meds-Widget

Add a WordPress sidebar widget to hold the latest meditation from dailymedtoday.com
PHP
1
star
44

grunt-modulize

JavaScript
1
star
45

javascript-for-php

JavaScript for PHP Developers
CSS
1
star
46

Watermark-Mini-Site-Plugin

PHP
1
star
47

wordsesh2

WordSesh Code Examples
PHP
1
star
48

rediscover-wordpress

Rediscover the Power of WordPress
CSS
1
star
49

contact-manager

Simple demo contact manager application for php[world] 2018.
PHP
1
star
50

cl-generator

OpenAI GPT-powered cover letter generator
Python
1
star