What a cache changes
An application can keep recently used results in a fast store. When it already has the requested value, it can return the result without going to the database. That is a cache hit.
When the key is absent or expired, the application has to read the database. It can then save the result in the cache for a later request. That is a cache miss.
Check your understanding
Why might the second request for the same key take a shorter path? The first request can populate the cache, which gives the application a faster place to look the next time.