replaced cache with memcache