Small optimization when no valid cache is used