{
  "id": "client-side-caching",
  "title": "Client-side caching compatibility with Redis Software and Redis Cloud",
  "url": "https://redis.io/docs/latest/operate/rs/7.8/references/compatibility/client-side-caching/",
  "summary": "Redis Software and Redis Cloud compatibility with client-side caching.",
  "content": "\nRedis Software and Redis Cloud support [client-side caching]() for databases with Redis versions 7.4 or later.\n\n## Required database versions\n\nClient-side caching in Redis Software and Redis Cloud requires Redis database versions 7.4 or later.\n\nThe following table shows the differences in client-side caching support by product:\n\n| Redis product           | Client-side caching support |\n|-------------------------|-----------------------------|\n| Redis Open Source       | Redis v6.0 and later |\n| Redis Cloud             | Redis database v7.4 and later |\n| Redis Software          | Redis database v7.4 and later |\n\n## Supported RESP versions\n\nClient-side caching in Redis Software and Redis Cloud requires [RESP3]().\n\nThe following table shows the differences in client-side caching support for RESP by product:\n\n| Redis product with client-side caching  | RESP2 | RESP3 |\n|-------------------------|-------|-------|\n| Redis Open Source       | \u003cspan title=\"Supported\"\u003e\u0026#x2705;\u003c/span\u003e | \u003cspan title=\"Supported\"\u003e\u0026#x2705;\u003c/span\u003e |\n| Redis Cloud             | \u003cspan title=\"Not supported\"\u003e\u0026#x274c;\u003c/span\u003e | \u003cspan title=\"Supported\"\u003e\u0026#x2705;\u003c/span\u003e |\n| Redis Software          | \u003cspan title=\"Not supported\"\u003e\u0026#x274c;\u003c/span\u003e | \u003cspan title=\"Supported\"\u003e\u0026#x2705;\u003c/span\u003e |\n\n## Two connections mode with REDIRECT not supported\n\nUnlike Redis Open Source, Redis Software and Redis Cloud do not support [two connections mode]() or the `REDIRECT` option for [`CLIENT TRACKING`]().\n\n## Change tracking_table_max_keys for a database\n\nWhen client-side caching is enabled, Redis uses an invalidation table to track which keys are cached by each connected client.\n\nThe configuration setting `tracking-table-max-keys` determines the maximum number of keys stored in the invalidation table and is set to `1000000` keys by default. Redis Software does not support using `CONFIG SET` to change this value, but you can use the REST API or rladmin instead.\n\nTo change `tracking_table_max_keys` for a database in a Redis Software cluster:\n\n- [`rladmin tune db`]():\n\n    ```sh\n    rladmin tune db db:\u003cID\u003e tracking_table_max_keys 2000000\n    ```\n\n    You can use the database name in place of `db:\u003cID\u003e` in the preceding command.\n\n- [Update database configuration]() REST API request:\n\n    ```sh\n    PUT /v1/bdbs/\u003cuid\u003e \n    { \"tracking_table_max_keys\": 2000000 }\n    ```\n\n## Change default tracking_table_max_keys\n\nThe cluster-wide option `default_tracking_table_max_keys_policy` determines the default value of `tracking_table_max_keys` for new databases in a Redis Software cluster. `default_tracking_table_max_keys_policy` is set to `1000000` keys by default.\n\nTo change `default_tracking_table_max_keys_policy`, use one of the following methods:\n\n- [`rladmin tune cluster`]()\n\n    ```sh\n    rladmin tune cluster default_tracking_table_max_keys_policy 2000000\n    ```\n\n- [Update cluster policy]() REST API request:\n\n    ```sh\n    PUT /v1/cluster/policy \n    { \"default_tracking_table_max_keys_policy\": 2000000 }\n    ```\n",
  "tags": ["docs","operate","rs"],
  "last_updated": "2026-04-01T08:10:08-05:00"
}

