D
D
donnyho2019-08-11 23:29:21
Node.js
donnyho, 2019-08-11 23:29:21

How to solve the problem of loading large images when interacting with the API?

When interacting with the API, the server sends large photos in response, the request returns under 200 mb, if you download the catalog by category, is it possible to solve this problem if you use some kind of image compression middleware?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Suntsev, 2019-08-12
@GreyCrew

If the user does not need images of ± 200MB, as an option, you can make an intermediate service on node.js. There is such a sharp
library , you can specify image size configs in it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question