Valid AD0-E722 Dumps shared by ExamDiscuss.com for Helping Passing AD0-E722 Exam! ExamDiscuss.com now offer the newest AD0-E722 exam dumps, the ExamDiscuss.com AD0-E722 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com AD0-E722 dumps with Test Engine here:
An Architect needs to integrate an Adobe Commerce store with a new Shipping Carrier. Cart data is sent to the Shipping Carrier's API to retrieve the price and display to the customer. After the feature isimplemented on the store, the API hits its quota and returns the error "Too many requests". The Shipping Carrier warns the store about sending too many requests with the same content to the API. In the carrier model, what should the Architect change to fix the problem?
Correct Answer: C
Explanation The carrier model class can implement caching methods to store and retrieve the quotes from the API based on the request parameters. This can reduce the number of API calls and improve the performance of the shipping rate calculation. The _setCachedQuotes() method can save the response from the API to a cache storage, and the _getCachedQuotes() method can check if there is a cached response for the current request and return it if it exists. References: Caching in carrier model, Carrier model interface