Adding configuration options for the Redis and Memcached caches.