memcached Articles RSS


Flushing Memcached

October 11, 2007

In getting my blog off the ground, going through the 'minor-update, publish, release' cycle, I found myself needing to flush memcached to see my changes on my production server (I didn't want to wait 15 minutes for the cache to expire).

A quick google yielded the following technique:

$ telnet 127.0.0.1 11211
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
flush_all
OK
quit
Connection closed by foreign host.

I thought that was pretty helpful.