Hi,
We have an API which makes a call to backed Azure APIM and caches the response using the invoke policy. We use IBM DP API Gateway and API Connect version used is 10.0.1. The client invokes the API using a HTTP GET operation with Authorisation Bearer. Cache control max age is set to 60 sec.
The invoke policy properties set are:
1. Verb: key
2. backend type: detect
3. Cache key: custom
4. cache-response: protocol
the invocation happens using cache control headers. First request is directed to backed Azure API APIM and second and subsequent calls are returned from the API cache.
There are no errors in the DPOD logs associated with APIC gateway. But when the invocation from APIC to Azure is made, probably for the cached calls. APIC seems to make HEAD requests to Azure and there are exceptions stating" Unable to match incoming request to an operation. Operation not found in configuration." Due this exception at backend Azure, there are unwanted alerts raised (though there are no errors at APIC layer).
Question is: Does APIC inturn make HEAD requests to backed applications when caching is enabled at the APIC layer.
Thanks,
------------------------------
Radhika Tharayil
------------------------------