Cache device lookups.