# Questions about file cache

**URL:** <https://discuss.elastic.co/t/questions-about-file-cache/146613>\
**Category:** Elasticsearch\
**Created:** [August 30, 2018, 4:36am UTC](https://discuss.elastic.co/t/questions-about-file-cache/146613 "2018-08-30T04:36:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pohsun.teh](https://avatars.discourse-cdn.com/v4/letter/p/f08c70/32.png) [@pohsun.teh](https://discuss.elastic.co/u/pohsun.teh)\
**Post date:** [August 30, 2018, 4:36am UTC](https://discuss.elastic.co/t/questions-about-file-cache/146613/1 "2018-08-30T04:36:19Z")

</div>

Greetings,

Right now I have this problem of request timeout which seldom happens but would like to figure out what cause it.  
Came across [File Cache](https://www.elastic.co/guide/en/elasticsearch/reference/current/_pre_loading_data_into_the_file_system_cache.html) on ElasticSearch while doing some research

Have few questions in my mind right now:

1. Can file cache be disabled? Is it the same command as `PUT /my_index/_settings { "index.requests.cache.enable": true }`?

2. For testing, how to clear file cache? Is it the same as `POST /twitter/_cache/clear`?

A side question. Comparing Lucene Syntax and ElasticSearch Query String, which one is faster?

Thanks in advance!

---

<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:** [September 27, 2018, 4:36am UTC](https://discuss.elastic.co/t/questions-about-file-cache/146613/2 "2018-09-27T04:36:24Z")

</div>

Closed on September 27, 2018, 4:36am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
