Difference between revisions of "Flush Your Memcached Instance"

From Brian Nelson Ramblings
Jump to: navigation, search
(Created page with "==How to flush your Memcached Instance== If you need to flush your memcached instance because you have made a change to your website You can running the following command vi...")
(No difference)

Revision as of 03:14, 26 March 2013

How to flush your Memcached Instance

If you need to flush your memcached instance because you have made a change to your website

You can running the following command via the command line

echo "flush_all" | nc localhost 11211

or if its setup as a socket

echo "flush_all" | nc /path/to/the/socket.sock

You should see the OK once you run the command, meaning your memcached instance has been flushed