Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Web dev in C

Name: Anonymous 2014-10-13 2:44

Who needs a huge server and scripting environment to run a simple site? Just open a socket, read until the second space, dump the requested file and close the socket.

Just think about all the electricity and time wasted because of wastefully starting Apache, parsing a complex config file each time, sending the script to PHP where it is parsed for the millionth time, generate the output, apply transformations to the headers, sending it out, keeping the socket open just in case there is another request, all for the convenience of not having to compile a script.

Name: Anonymous 2014-10-14 4:07

>>9
but it shouldn't be too much trouble to keep the thread/process handling each client alive to serve another request
Actually well-done keep-avile is a PITA of gigantic proportions which can compare to implementing a correct HTTP cache handling mechanism.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List