Use memcached for caching

Our Redis configuration in production is not suitable for usage as an ephemeral cache. Now that memcached is available on the backend machines, we should use that instead.

This still stop ever-growing RAM usage as the cache will automatically evict and expire things.