class
ActiveSupport::Cache::MemCacheStore
v6.1.3.1 -
Show latest stable
- Superclass: Store
A cache store implementation which stores data in Memcached: 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
DEFAULT_CODER = NullCoder # Dalli automatically Marshal values
ESCAPE_KEY_CHARS = /[\\x00-\\x20%\\x7F-\\xFF]/n
Files
- activesupport/lib/active_support/cache/mem_cache_store.rb