Memcached plugin for YOURLS
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
memcached
.gitignore
LICENSE
README.md

README.md

Yourls-Memcached

Memcached plugin for YOURLS

Use only in a multiple webservers environment, otherwise APC cache will be faster.

This plugin is based on "Yourls-APC-Cache" by Ian Barber (https://github.com/ianbarber)

Install

Copy memcached in the plugin directory (user/plugins/) and activate it in the admin.

Requirements

One Memcached server (running) and Memcached PHP extension (http://pecl.php.net/package/memcached)

Default configuration

Memcached IP: 127.0.0.1 (localhost)

Memcached port: 11211

For custom configuration, add in your config.php

define("MEMCACHED_SALT", ''); // Salt (for multiple instances, must be unique, default is URL)
define("MEMCACHED_IP", '127.0.0.1'); // Memcached IP
define("MEMCACHED_PORT", '11211'); // Memcached Port

TODO

Support multiple memcached servers