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

css - Text drops down with smaller window -

php - Boolean search on database with 5 million rows, very slow -

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