# What is request cache

**URL:** https://discuss.elastic.co/t/what-is-request-cache/46619
**Category:** Elasticsearch
**Created:** [April 7, 2016, 3:06am UTC](https://discuss.elastic.co/t/what-is-request-cache/46619 "2016-04-07T03:06:57Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![vineeth\_mohan\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vineeth_mohan_2/32/747_2.png) [@vineeth\_mohan\_2](https://discuss.elastic.co/u/vineeth_mohan_2)
#### Post date: [April 7, 2016, 3:06am UTC](https://discuss.elastic.co/t/what-is-request-cache/46619/1 "2016-04-07T03:06:57Z")

</div>

On the [Elasticsearch 5 alpha release](https://www.elastic.co/guide/en/elasticsearch/reference/master/release-notes-5.0.0-alpha1.html) , I noticed that something called request cache is highlighted as key release component.

> Enable the indices request cache by default #17162 (issues: #16870, #17134)

I went though the discussion and i could not able to understand what this cache was about and how it worked.  
Is this same as query cache we had before ? or is it something new and improved.  
Kindly point me to some documentation or literature which have explanation on what this is....

---

<div class="post-metadata">

### Author: ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)
#### Post date: [April 12, 2016, 7:23am UTC](https://discuss.elastic.co/t/what-is-request-cache/46619/2 "2016-04-12T07:23:17Z")

</div>

Hi,

the indices request cache replaces the query cache (and is enabled by default in 5.0). See also the migration guide:

[https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking\_50\_settings\_changes.html#\_request\_cache\_settings](https://www.elastic.co/guide/en/elasticsearch/reference/master/breaking_50_settings_changes.html#_request_cache_settings)

Daniel

---

<div class="post-metadata">

### Author: ![vineeth\_mohan\_2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vineeth_mohan_2/32/747_2.png) [@vineeth\_mohan\_2](https://discuss.elastic.co/u/vineeth_mohan_2)
#### Post date: [April 12, 2016, 7:56am UTC](https://discuss.elastic.co/t/what-is-request-cache/46619/3 "2016-04-12T07:56:45Z")

</div>

Hello @danielmitterdorfer ,

I was wondering request cache was made as one of the highlights of Elasticsearch 5.0 Alpha release.  
If i am right , the same feature was present previously but in query cache name.

Is this feature , something different ?

Thanks  
Vineeth

---

<div class="post-metadata">

### Author: ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)
#### Post date: [April 12, 2016, 8:23am UTC](https://discuss.elastic.co/t/what-is-request-cache/46619/4 "2016-04-12T08:23:38Z")

</div>

Hi Vineeth,

this list contains all changes in Elasticsearch 5.0 not just highlights. The functionality is similar to before, you just have to be aware that it is on by default now (but you can disable it).

Daniel

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [July 5, 2017, 11:00pm UTC](https://discuss.elastic.co/t/what-is-request-cache/46619/5 "2017-07-05T23:00:21Z")

</div>


