Adds memcached flushing to deployment.