class
ActiveSupport::Cache::MemCacheStore
v7.1.3.2 -
Show latest stable
- Superclass: Store
Memcached Cache 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
ESCAPE_KEY_CHARS = /[\\x00-\\x20%\\x7F-\\xFF]/n
KEY_MAX_SIZE = 250
OVERRIDDEN_OPTIONS = UNIVERSAL_OPTIONS
Files
- activesupport/lib/active_support/cache/mem_cache_store.rb