In Azure Functions i can easily create an input binding to a Cosmos DB Connection and specify a SqlQuery to get some data passed into my function on every call as described here: https://docs.microsoft.com/en-us/azure/azure-functions/functions-bindings-cosmosdb#input---example-2
I'm wondering if this query is executed on every call of the function or if some sort of caching occurs behind the scenes (maybe even using ChangeFeed or some other mechanism to detect changes) ?
When the data coming from the query doesn't change very often, i guess querying the data myself and storing it in a static cache in my function would be more efficient.