Clients (browser, mobile apps, etc) => API proxy => Elasticsearch
I'd like to implement ETags, so that i can save bandwidth to the clients.
In the past (e.g when hiting a RDMS), i've done this on the API proxy by doing a simple hash of the response, and using that as the value.
But was wondering if there's something in the Elasticsearch response (i'm mostly using the Search API) that i can use for the ETag, to both save on the CPU cycles to create my own, and also to potentially issue conditional requests to ES from my API proxy? (although i'm mainly wanting it for the clients)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.