Cache aside data invalidation

In the case of cache aside, there is a TTL for the cache invalidation. But even before that, data could become inconsistent due a write to the db. What happens if there is a read in this time frame? Does the cache know this data is no longer valid, or is there a risk of passing the wrong values to the user?

@Karthik_Raman_Naig I’ve answered this here