I know that there is a default limit of 100kb on the request messages that the client sends to one of the controllers in my Play project. What about the size on the response messages? I have a huge String JSON that I want to send as a response. Is there anything that I have to specify additionally in Play framework to handle such huge Strings in the response messages?

有帮助吗?

解决方案

Browsers have certain limitations, but other than that, the memory is the limit. You should however stream large responses in order to avoid clogging up RAM.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top