{
    "mode": "ri",
    "parameter": "ActiveSupport::Cache::RedisCacheStore",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/ri/ActiveSupport%3A%3ACache%3A%3ARedisCacheStore/json",
    "generated": "2026-07-30T20:12:01Z",
    "sections": {
        "ActiveSupport::Cache::RedisCacheStore < ActiveSupport::Cache::Store": {
            "content": "(from /home/chedong/.local/share/rdoc)\n------------------------------------------------------------------------\nRedis cache store.\n\nDeployment note: Take care to use a *dedicated Redis cache* rather than\npointing this at your existing Redis server. It won't cope well with\nmixed usage patterns and it won't expire cache entries by default.\n\nRedis cache server setup guide: https://redis.io/topics/lru-cache\n\n* Supports vanilla Redis, hiredis, and Redis::Distributed.\n* Supports Memcached-like sharding across Redises with\nRedis::Distributed.\n* Fault tolerant. If the Redis server is unavailable, no exceptions are\nraised. Cache fetches are all misses and writes are dropped.\n* Local cache. Hot in-memory primary cache within block/middleware\nscope.\n* readmulti and writemulti support for Redis mget/mset. Use\nRedis::Distributed 4.0.1+ for distributed mget support.\n* deletematched support for Redis KEYS globs.\n------------------------------------------------------------------------",
            "subsections": []
        },
        "Constants:": {
            "content": "DEFAULTERRORHANDLER:\n[not documented]\n\nDEFAULTREDISOPTIONS:\n[not documented]\n\nMAXKEYBYTESIZE:\nKeys are truncated with their own SHA2 digest if they exceed 1kB\n\n",
            "subsections": []
        },
        "Class methods:": {
            "content": "new\nsupportscacheversioning?\n",
            "subsections": []
        },
        "Instance methods:": {
            "content": "cleanup\nclear\ndecrement\ndeletematched\nincrement\ninspect\nmaxkeybytesize\nreadmulti\nredis\nredisoptions\n",
            "subsections": []
        },
        "Attributes:": {
            "content": "attrreader maxkeybytesize\nattrreader redisoptions\n",
            "subsections": []
        }
    },
    "flags": [],
    "examples": [],
    "see_also": []
}