What is a cache hit and cache miss?

What is a cache hit and cache miss?

Approach: Explain finding data in faster storage vs. needing slower storage.

A cache hit occurs when requested data is found in the cache. A cache miss occurs when it is not found, requiring retrieval from slower, primary storage.

Follow-up: What is a cache eviction policy?

Key concepts: latency, lookup, storage layers.