May we cache results from the translator API?

asked 2021-04-15T18:36:58.063+00:00
Eric 21 Reputation points

Caching results from the Translator API would be useful to reduce the latency and the number of requests made to the API.

Is this allowed? Are there any restrictions on what we are allowed to cache or for how long?

Azure Cognitive Services
Azure Cognitive Services
A group of Azure artificial intelligence services and cognitive APIs that help build intelligent apps.
938 questions
Azure Translator
Azure Translator
An Azure service to easily conduct machine translation with a simple REST API call.
221 questions
No comments
{count} votes

Accepted answer
  1. answered 2021-04-15T23:43:54.613+00:00
    YutongTie-MSFT 24,391 Reputation points Microsoft Employee

    Sorry, there is not a directly way you can cache the result in Translator API, but you can create some logic to do it.

    One thing you can do is using Azure Logic App to connect the result file with the API, check in the cache first then do the translate.

    One sample by creating customized logic :


0 additional answers

Sort by: Most helpful