4 ms·
What's the disadvantage to being "overkill" that this remedies? nginx is very easy to install, and a static web server configuration is pretty much the default
by robbles 11y ago
What's the disadvantage to being "overkill" that this remedies? nginx is very easy to install, and a static web server configuration is pretty much the default one. Is this faster? Does it use less memory?
- athrun 11y agoI think the main advantage here is that it's a one-binary-file webserver. Very simple to install and ideal for file sharing among coworkers or similar situations. A modern equivalent of "python -m SimpleHTTPServer".
- m3ng9i 11y agoYes, "python -m SimpleHTTPServer" is too slow.
- omginternets 11y agoToo slow for what?
- nilliams 11y ago'python -m SimpleHTTPServer' is actually fairly terrible if you try to use it to share a file amongst coworkers. Try it and you'll see, downloads will actually fail. It also freaks out if the root dir is blown away, which can be quite common if you're trying to use it with a static site generator. 'python -m SimpleHTTPServer' is great for serving files to yourself but that's about it.