summaryrefslogtreecommitdiffstats
path: root/src/commands/client-caching.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/client-caching.json')
-rw-r--r--src/commands/client-caching.json38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/commands/client-caching.json b/src/commands/client-caching.json
new file mode 100644
index 0000000..b8beaa8
--- /dev/null
+++ b/src/commands/client-caching.json
@@ -0,0 +1,38 @@
+{
+ "CACHING": {
+ "summary": "Instruct the server about tracking or not keys in the next request",
+ "complexity": "O(1)",
+ "group": "connection",
+ "since": "6.0.0",
+ "arity": 3,
+ "container": "CLIENT",
+ "function": "clientCommand",
+ "command_flags": [
+ "NOSCRIPT",
+ "LOADING",
+ "STALE",
+ "SENTINEL"
+ ],
+ "acl_categories": [
+ "CONNECTION"
+ ],
+ "arguments": [
+ {
+ "name": "mode",
+ "type": "oneof",
+ "arguments": [
+ {
+ "name": "yes",
+ "type": "pure-token",
+ "token": "YES"
+ },
+ {
+ "name": "no",
+ "type": "pure-token",
+ "token": "NO"
+ }
+ ]
+ }
+ ]
+ }
+}