Update credis.php

using hash for caching https://github.com/nicolasff/phpredis#hashes