class

ActiveSupport::Cache::MemCacheStore

v2.3.8 - Show latest stable - Superclass: Store

A cache store implementation which stores data in Memcached: http://www.danga.com/memcached/

This is currently the most popular cache store for production websites.

Special features:

  • Clustering and load balancing. One can specify multiple memcached servers, and MemCacheStore will load balance between all available servers. If a server goes down, then MemCacheStore will ignore it until it goes back online.
  • Time-based expiry support. See #write and the :expires_in option.
  • Per-request in memory cache for all communication with the MemCache server(s).

Files

  • activesupport/lib/active_support/cache/mem_cache_store.rb

Nested classes and modules