Try Redis commands without saving

Run commands in the Console on the sample cache, or on a practice cache that is yours alone, with nothing saved for the team.

In short

Run Redis commands and read the replies without connecting a server of your own. The "Console" tab works like redis-cli on the sample cache, which holds example keys. When you may not add the sample cache to a shared workspace, Cache Tester opens on a practice cache instead, "Try it (not saved)", held for you alone.

Before you start

Steps

  1. Open Cache Tester and choose the "Console" tab. On your first visit, press "Run a command" on the "Sample cache" card, with GET greeting ready in "Command", and the Console opens with the reply.
  2. Type a command after the prompt, such as GET greeting. On an empty console, press one of "Commands to start from" instead: INFO memory, DBSIZE, SCAN 0 COUNT 20 or TTL <key>.
  3. Press "Run", or Enter. The reply reads the way redis-cli prints it, with the time it took.
  4. Press the Up and Down keys to recall earlier lines. Press "Clear" to empty the console.

Result: you have run real commands without connecting a server. "Connect Redis" on the first screen is the way to your own.

When you may not add the sample

If you may not add the sample cache to a shared workspace, the first screen shows "Try it (not saved)", marked "Only you", instead of the "Sample cache" card.

  1. The "Command" box is ready with GET greeting. Press "Run", or press one of the "Example commands" to try another kind of key.
  2. Read the reply the way redis-cli prints it, and the line "Keys here" for what the practice cache holds.
  3. To go back to the starting keys, press "Start over".

Good to know

If something goes wrong

Related