Don't check the cache if the timeout is 0