# Cache API Commands - \_nodes/\_aliases

**URL:** <https://discuss.elastic.co/t/cache-api-commands--nodes--aliases/20559>\
**Category:** Elasticsearch\
**Created:** [November 4, 2014, 1:27pm UTC](https://discuss.elastic.co/t/cache-api-commands--nodes--aliases/20559 "2014-11-04T13:27:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sking0333](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@sking0333](https://discuss.elastic.co/u/sking0333)\
**Post date:** [November 4, 2014, 1:27pm UTC](https://discuss.elastic.co/t/cache-api-commands--nodes--aliases/20559/1 "2014-11-04T13:27:40Z")

</div>

Hey guys,

Is there actually a way that elasticsearch can cache some API requests in  
memory, so that they dont have to be loaded from disk every time?

E.g. If you open a ES stored dashboard in Kibana, Kibana is execurting curl  
syslogserver:9200/\_nodes and after that curl  
syslogserver:9200/index/\_aliases?ignore-missing.

Our "problem" is that these 2 commands may take 5-10 seconds to finish and  
so the user of kibana are reporting poor performance due to the long  
loading time of dashboards.

On our server we have much more RAM than needed so storing queries/API  
commands in RAM would be very exciting for us.

Thanks for response.

Cheers

Stephen

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/085248e5-e3a6-46f6-aa71-d271922f3bf7%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/085248e5-e3a6-46f6-aa71-d271922f3bf7%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:52am UTC](https://discuss.elastic.co/t/cache-api-commands--nodes--aliases/20559/2 "2017-07-06T00:52:15Z")

</div>


