开发者

What's wring with sending large json HTTP responses?

I'm requesting a webservice with an开发者_开发技巧 HTTP GET that sends back a large response in json format. This response can vary from 100MB to few hundreds MB ...

What's in your opinions arguments I have to justify that this is not a good option to send back responses that way ? Any W3C recommendations or so ?

  • Blocking process
  • Timeouts
  • Unknown response size ...

Thanks for your thoughts


It would make more sense to engineer the GET to return a list of URIs, with the json data segmented for the client to request in a non blocking fashion.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜