Uses memcached for caching.