PHPackages                             metabolism/wp-redis-user-session-storage - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. metabolism/wp-redis-user-session-storage

ActiveWordpress-plugin[Caching](/categories/caching)

metabolism/wp-redis-user-session-storage
========================================

Store WordPress user session tokens in Redis rather than the usermeta table. Requires PECL Redis library.

0.1(5y ago)057PHP

Since Feb 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/wearemetabolism/wp-redis-user-session-storage)[ Packagist](https://packagist.org/packages/metabolism/wp-redis-user-session-storage)[ Docs](https://github.com/ethitter/WP-Redis-User-Session-Storage)[ RSS](/packages/metabolism-wp-redis-user-session-storage/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Overview
--------

[](#overview)

Store WordPress user session tokens in Redis rather than the usermeta table. Requires PECL Redis library.

Requires WordPress 4.0, which should be released soon but isn’t currently suitable for production sites. In the meantime, **everything** is subject to change.

Authors
-------

[](#authors)

- Erick Hitter

Installation
------------

[](#installation)

1. Install and configure Redis. There is a good tutorial [here](http://www.saltwebsites.com/2012/install-redis-245-service-centos-6).
2. Install the [Redis PECL module](http://pecl.php.net/package/redis).
3. Activate the plugin network-wide or by placing it in `mu-plugins`.
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

[](#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_USER_SESSION_HOST`, `WP_REDIS_USER_SESSION_PORT`, and `WP_REDIS_USER_SESSION_DB` to set the necessary, non-default connection values for your Redis instance.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1916d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/28e9d93a81e161ebb68a706512efb213e634ac68a2b835f944fd9066de9e4318?d=identicon)[metabolism](/maintainers/metabolism)

### Embed Badge

![Health badge](/badges/metabolism-wp-redis-user-session-storage/health.svg)

```
[![Health](https://phpackages.com/badges/metabolism-wp-redis-user-session-storage/health.svg)](https://phpackages.com/packages/metabolism-wp-redis-user-session-storage)
```

###  Alternatives

[wp-media/wp-rocket

Performance optimization plugin for WordPress

7431.3M3](/packages/wp-media-wp-rocket)[rtcamp/nginx-helper

Cleans nginx's fastcgi/proxy cache or redis-cache whenever a post is edited/published. Also provides cloudflare edge cache purging with Cache-Tags.

23817.0k1](/packages/rtcamp-nginx-helper)[humanmade/batcache

A memcached HTML page cache for WordPress.

16447.7k4](/packages/humanmade-batcache)[voceconnect/wp-large-options

You may wish to store a larger option value than is recommended on WordPress.com. If your option data will exceed 400K, or is of an unpredictable size (such as an HTML fragment etc.) you should use the wp\_large\_options plugin to store the option in a cache-safe manner. Failure to do this could result in the option not being cached, and instead fetched repeatedly from the DB, which could cause performance problems.

355.1k](/packages/voceconnect-wp-large-options)[offline/oc-speedy-plugin

Speed up your October CMS installation

181.0k](/packages/offline-oc-speedy-plugin)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
