Skip to content

Instantly share code, notes, and snippets.

@iamstoick
Created July 26, 2017 14:55
Show Gist options
  • Save iamstoick/aad9cb7ee815f297f8518222070a5ac8 to your computer and use it in GitHub Desktop.
Save iamstoick/aad9cb7ee815f297f8518222070a5ac8 to your computer and use it in GitHub Desktop.
How to test if Redis is working

In order to check if Redis is really working.

First, flush all keys stored in redis in order to remove old cache entries

$ redis-cli FLUSHALL

Monitor REDIS realtime.

$ redis-cli MONITOR

The reload your application and see if something is going in your monitor. You should be able to see some SET happening. This means that Redis is storing the cache.

@eye-color-change-surgery

can you check is it working on my website dear? my website

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment