Check cache first.