Skip to content

Instantly share code, notes, and snippets.

@gerzenstl
Created July 17, 2018 17:31
Show Gist options
  • Select an option

  • Save gerzenstl/4a02d9fca9dd89a2fd00973c7ee0618b to your computer and use it in GitHub Desktop.

Select an option

Save gerzenstl/4a02d9fca9dd89a2fd00973c7ee0618b to your computer and use it in GitHub Desktop.
Useful commands to use with Redis from CMD
// 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