Check if cache is valid, really important