only clear memcache if host is set, also ignore apc loaded