Valid MCD-Level-2 Dumps shared by ExamDiscuss.com for Helping Passing MCD-Level-2 Exam! ExamDiscuss.com now offer the newest MCD-Level-2 exam dumps, the ExamDiscuss.com MCD-Level-2 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com MCD-Level-2 dumps with Test Engine here:
A developer deploys an API to CloudHub and applies an OAuth policy on API Manager. During testing, the API response is slow, so the developer reconfigures the API so that the out-of-the-box HTTP Caching policy is applied first, and the OAuth API policy is applied second. What will happen when an HTTP request is received?
Correct Answer: B
When an HTTP request is received and the HTTP Caching policy is applied first, it checks if there is a cached response for that request in Object Store. If there is a cache hit, meaning that a valid cached response exists, then only the HTTP Caching policy is evaluated and the cached response is returned to the caller without invoking the OAuth policy or the API implementation. If there is a cache miss, meaning that no valid cached response exists, then both the HTTP Caching policy and the OAuth policy are evaluated before invoking the API implementation. References:https://docs.mulesoft.com/api-manager/2.x/http-caching-policy#policy-ordering