added memcached in deps
logic with memcache