Skip to content

alexalouit/Yourls-Memcached

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Memcached plugin for YOURLS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages