basic caching and memcached