<-
Apache > HTTP Server > Documentation > Version 2.5 > Modules

Apache Module mod_socache_memcache

Available Languages:  en 

Description:Memcache based shared object cache provider.
Status:Extension
Module Identifier:socache_memcache_module
Source File:mod_socache_memcache.c

Summary

mod_socache_memcache is a shared object cache provider which provides for creation and access to a cache backed by the memcached high-performance, distributed memory object caching system.

This shared object cache provider's "create" method requires a comma separated list of memcached host/port specifications. If using this provider via another modules configuration (such as SSLSessionCache), provide the list of servers as the optional "arg" parameter.

SSLSessionCache memcache:memcache.example.com:12345,memcache2.example.com:12345

Details of other shared object cache providers can be found here.

Directives

top

MemcacheConnTTL Directive

Description:Keepalive time for idle connections
Syntax:MemcacheConnTTL seconds
Default:MemcacheConnTTL 15
Context:server config, virtual host
Status:Extension
Module:mod_socache_memcache

Set the time, in seconds, to keep idle connections with the memcache server(s) alive (threaded platforms only).

Valid values for MemcacheConnTTL are integers from 1 to 1800. That is to say, up to half an hour.

Available Languages:  en 

top

Comments

Notice:
This is not a Q&A section. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Questions on how to manage the Apache HTTP Server should be directed at either our IRC channel, #httpd, on Freenode, or sent to our mailing lists.