# \[Elasticsearch\] How to keep cache consistent

**URL:** <https://discuss.elastic.co/t/elasticsearch-how-to-keep-cache-consistent/359116>\
**Category:** Elasticsearch\
**Created:** [May 9, 2024, 12:37am UTC](https://discuss.elastic.co/t/elasticsearch-how-to-keep-cache-consistent/359116 "2024-05-09T00:37:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![david89](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/david89/32/133515_2.png) [@david89](https://discuss.elastic.co/u/david89)\
**Post date:** [May 9, 2024, 12:37am UTC](https://discuss.elastic.co/t/elasticsearch-how-to-keep-cache-consistent/359116/1 "2024-05-09T00:37:09Z")

</div>

Hello, I am applying rollover for my cluster, also refresh\_interval = 7d for old rollover index  
But sometimes the cache/or indice is refreshed, I do not know the reason  
Do you know the way I can keep the Elasticsearch cache consistent/forever or preventing old rollover index is refreshed (cache also will be cleared)
