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

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

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -