fix apc cache, add memcached