asynchronous - Can I begin sending a web response before it is complete using Node.js? -


the first portion of response static, go head , send portion of page , send rest after has been compiled. possible using node.js?

yes, absolutely. can whatever want.

just .write() data response object. won't disconnect until .end(). bonus, node set chunked encoding automatically. there nothing more have do.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -