Created
July 17, 2018 17:31
-
-
Save gerzenstl/4a02d9fca9dd89a2fd00973c7ee0618b to your computer and use it in GitHub Desktop.
Useful commands to use with Redis from CMD
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Removes all keys under a specific cache key. To use it, replace the "yourcacheprefix" string with the cache prefix used on your app. | |
| redis-cli KEYS "yourcacheprefix:*" | xargs --delim='\n' redis-cli DEL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment