Fix cacheable type in redis and memcache