If express is streaming a response, is it possible to compress the chunks?
I would like to be able to flush parts of a webpage as they are available
to send to the client and to send those chunks compressed (when the client
supports them). When I have express using compress, however, it does not
send the response to the client until the page is completely rendered. If I
turn compress off, then chunk streaming works again.
Please have a look at this use case as a demonstration:
Thanks for any help!