Python caching backed by Redis