Just quick tip for me and for my readers how to flush cached data in memcached. Just call ‘flush_all’ command for running memcached service:
echo "flush_all" | nc 127.0.0.1 11211
There are more available commands like ‘get’, ‘set’ or ‘stats’ for memcached. All these commands can be found in here.