Memcached

Introduction

The Memcached Extension includes the MemcachedCacheHandler and provides application caching and key/value store support via Memcached.

Documentation References:

API References:

Requirements

Cement 3.0.8+:

pip install cement[memcached]

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