Rectify cache instance to prevent cache being created on the filesystem when one is storing cache in redis or somewhere else