elide
elide copied to clipboard
Elide 5: Add setting to turn on/off caching for async downloads.
Elide async needs a configuration setting to disable caching for queries that involve large downloads. Some caching strategies (like in-memory caffeine cache) will not work with large results.
This PR was done to support bypasscache https://github.com/yahoo/elide/pull/1673. Here the users have to set the header in every request.
For this issue, we want to introduce a new Setting where user's can set bypasscache for all Async requests. Based on the value of that setting, the calls to elide.get or queryrunner.run in AsyncQueryThread should set bypasscache to true/false in the headerMap field.