streaming large nginx generated page

Maksim Yevmenkin maksim.yevmenkin at gmail.com
Mon Nov 9 18:35:23 UTC 2015


hello,

suppose i need to export large amount of nginx generated data (static
page). i have used content handler (or content phase handler) to
create all the in-memory chain and fed it to ngx_http_output_filter().
however, i would very much like to avoid allocating large chunk of
memory to keep all the data before sending.

is there a way to stream generated page (potentially applying
different transfer encoding)?

thanks!
max



More information about the nginx-devel mailing list