microsoft / BotFramework-WeChat

WeChat Adapter for BotFramework
MIT License
64 stars 23 forks source link

Can we hash the media url,not the image bytes? #37

Closed cloud8666 closed 4 years ago

cloud8666 commented 4 years ago

We should not download the media data every time in bot.The response will be slow. Image that once the media size is too large,and many request, the server will boom. We have to consider the concurrent request.same resource, upload too much times.

youyu16 commented 4 years ago

Not using the URL to diff the image, because the same link can be different images. Uploading media action is already been running in the background and if the uploading request takes too long the request will be canceled.