May we cache results from the translator API?

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

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 AI Translator
Azure AI Translator
An Azure service to easily conduct machine translation with a simple REST API call.
488 questions
Azure AI services
Azure AI services
A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
3,632 questions
0 comments No comments
{count} votes

Accepted answer
  1. YutongTie-MSFT 53,971 Reputation points Moderator
    2021-04-15T23:43:54.613+00:00

    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. https://azure.microsoft.com/en-us/services/logic-apps/#features

    One sample by creating customized logic :https://stackoverflow.com/questions/62802736/azure-translation-api-caching

    Regards,
    Yutong

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.