Cache_redis: Importing some corrections from @narfbg