Chunked vs streamed for responses with known content-length

(Marco) #1

Hi,

Are there any known performance metrics regarding chunked vs streamed responses for play2.6/2.7? Is it preferable to send a streamed response if the content-length is known or is sending everything chunked fine. This is wrt to play acting as a proxy server where content-length handling/mismatch can easily cause client errors when passing on a response (e.g if the original request used compression).
Thanks!

–Marco