Question

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?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top