= ActiveSupport::Cache::RedisCacheStore < ActiveSupport::Cache::Store (from /home/chedong/.local/share/rdoc) ------------------------------------------------------------------------ Redis cache store. Deployment note: Take care to use a *dedicated Redis cache* rather than pointing this at your existing Redis server. It won't cope well with mixed usage patterns and it won't expire cache entries by default. Redis cache server setup guide: https://redis.io/topics/lru-cache * Supports vanilla Redis, hiredis, and Redis::Distributed. * Supports Memcached-like sharding across Redises with Redis::Distributed. * Fault tolerant. If the Redis server is unavailable, no exceptions are raised. Cache fetches are all misses and writes are dropped. * Local cache. Hot in-memory primary cache within block/middleware scope. * read_multi and write_multi support for Redis mget/mset. Use Redis::Distributed 4.0.1+ for distributed mget support. * delete_matched support for Redis KEYS globs. ------------------------------------------------------------------------ = Constants: DEFAULT_ERROR_HANDLER: [not documented] DEFAULT_REDIS_OPTIONS: [not documented] MAX_KEY_BYTESIZE: Keys are truncated with their own SHA2 digest if they exceed 1kB = Class methods: new supports_cache_versioning? = Instance methods: cleanup clear decrement delete_matched increment inspect max_key_bytesize read_multi redis redis_options = Attributes: attr_reader max_key_bytesize attr_reader redis_options
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-29 18:24 @216.73.216.250
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)