{
    "content": [
        {
            "type": "text",
            "text": "# ActiveSupport::Cache::RedisCacheStore (ri)\n\n## Sections\n\n- **ActiveSupport::Cache::RedisCacheStore < ActiveSupport::Cache::Store**\n- **Constants:**\n- **Class methods:**\n- **Instance methods:**\n- **Attributes:**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "ActiveSupport::Cache::RedisCacheStore",
        "section": "",
        "mode": "ri",
        "summary": null,
        "synopsis": null,
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "ActiveSupport::Cache::RedisCacheStore < ActiveSupport::Cache::Store",
                "lines": 21,
                "subsections": []
            },
            {
                "name": "Constants:",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "Class methods:",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "Instance methods:",
                "lines": 11,
                "subsections": []
            },
            {
                "name": "Attributes:",
                "lines": 3,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}