---
title: "Comment by Abhishek Prakash on \"Cache Invalidation The Untold Challenge of Scalability\" | Hashnode"
description: "Nice Article! However, I have two questions: How frequently does the cache invalidates? Exactly when will you increment the cache counter in the redis?"
url: "https://hashnode.com/posts/cache-invalidation-the-untold-challenge-of-scalability/69306a22231bd664f42dc180/comment/6930c492f706f000c60d5cc3"
---

[Discussion](https://hashnode.com/posts/cache-invalidation-the-untold-challenge-of-scalability/69306a22231bd664f42dc180)

Comment [Cache Invalidation The Untold Challenge of Scalability](https://hashnode.com/posts/cache-invalidation-the-untold-challenge-of-scalability/69306a22231bd664f42dc180)

[Abhishek Prakash](https://hashnode.com/@shade)

[Dec 3, 2025](https://hashnode.com/posts/cache-invalidation-the-untold-challenge-of-scalability/69306a22231bd664f42dc180/comment/6930c492f706f000c60d5cc3)

Nice Article! However, I have two questions:

1.  How frequently does the cache invalidates?
2.  Exactly when will you increment the cache counter in the redis?

[Saravana Thiyagarajan](https://hashnode.com/@Saravana-Thiyagaraja)

[Dec 4, 2025](https://hashnode.com/posts/cache-invalidation-the-untold-challenge-of-scalability/69306a22231bd664f42dc180/comment/6930c492f706f000c60d5cc3#reply-69310a7ff1555384b0f8e6a1)

The cache invalidation based on the data source which that particular report uses.

E.g. : If the report is for sales with particular filter. There can be a new sales entry. Now we invalidate cache & the report query run once again cache it.

when will you increment the cache counter in the redis?

when every you setting a new value for that particular key which already cached. We increase the version counter. so cache miss would happen on next request which warm the cache up again.
