Memcached
Introduction
The Memcached Extension includes the MemcachedCacheHandler
and provides application caching and key/value store support via Memcached.
Documentation References:
API References:
Requirements
Pylibmc
There are known issues installing
pylibmc
on macOS/Homebrew via PIP. This post might be helpful.
Cement 3.0.8+:
pip install cement[memcached]
Applications using Cement <3.0.8 should continue to include pylibmc
in their dependencies.
Configuration
This extension honors the following config settings under a [cache.memcached]
section in any configuration file:
Setting
Description
expire_time
The default time in seconds to expire items in the cache. Default: 0
(does not expire)
hosts
List of memcached servers (comma separated if using a plain text based config handler like configparser).
Usage
Last updated