A bsic web server such as python
THTTPD reads static files with least process; thus is quite fast. Normally, adding more features to create an advanced web server (but still lightweight such as
nginx) will slow down this process.
Can an advanced web server play a trick to make the process faster? or simpler than simplest is impossible, and the simplest is fastest way to read static files? I mean can
nginx (or other lightweight web servers which claim to be fast) be faster than
THTTPD (or other basic web servers with minimal process)?
And what about CGI scripts, as
HTTPD and python
CGIHTTPServer can simply execute cgi scripts.