Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 859 Bytes

README.md

File metadata and controls

37 lines (24 loc) · 859 Bytes

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