elide icon indicating copy to clipboard operation
elide copied to clipboard

Elide 5: Add setting to turn on/off caching for async downloads.

Open aklish opened this issue 5 years ago • 1 comments

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.

aklish avatar Sep 15 '20 18:09 aklish

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.

moizarafat avatar Dec 14 '20 17:12 moizarafat