class
ActiveSupport::Cache::MemCacheStore
v3.2.13 -
Show latest stable
- Superclass: Store
A cache store implementation which stores data in Memcached: http://memcached.org/
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 comes back up.
MemCacheStore implements the Strategy::LocalCache strategy which implements an in-memory cache inside of a block.
Constants
ESCAPE_KEY_CHARS = /[\\x00-\\x20%\\x7F-\\xFF]/n
Files
- activesupport/lib/active_support/cache/mem_cache_store.rb