mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-13 03:42:35 -06:00
7f65b04561
This commit adds a new inter-query cache that built-in functions can use to cache responses across queries. The OPA config includes a new "caching" field that can be used to set the size of the cache. By default there is no limit. This change also updates `http.send` to optionally utilize the inter-query cache. Fixes #1753 Signed-off-by: Ashutosh Narkar <anarkar4387@gmail.com>