I guess you didn't use fopen in php which reads data in chunks. So you are totally misleading when you say "php read the whole file and return the data not like nodejs can stream the data chunk by chunk". It is because you choose wrong function.
PS: I am big fan and developer of node with little bit PHP background.
I guess you didn't use
fopen
in php which reads data in chunks. So you are totally misleading when you say "php read the whole file and return the data not like nodejs can stream the data chunk by chunk". It is because you choose wrong function.PS: I am big fan and developer of node with little bit PHP background.