fixed memcache flag and documentation issues