I created a Logic App HTTP GET request that retrieve data from a weather API.
What I would like to achieve is to reduce the calls to the weather API using a cached result only for identical requests.
Example: in my company there are 300 devices that are calling the Logic Apps endpoint with the same latitude and longitude in the query. At this point, I'm assuming, that for every call the Logic App makes a call at the weather API. Instead I'd like that it calls the weather API just the first time and then, for all the identical calls, it returns the cached result.
I'm afraid that, if I use cache-control settings in the header of the request, the Logic App would return the same cached result also if the query is different (for example a different location).
Thanks.