Also use a lua script for saving cache entries (if use_lua is enabled in config); performs slightly better than the normal way and provides atomicity when using phpredis.