Live data from Hacker News

H5ai - a beautified Apache index

larsjung.de

11–14 of 14 posts

Re: H5ai - a beautified Apache index

#12

This is quite nice, however, if you are wanting to serve static content I no longer believe Apache the proper tool for the job. Use cherokee, lighttpd or nginx, they are all faster and have decent file interfaces.

Other web-servers are good, but not that good. People are over-optimizing where there are no needs. One could instead say that you should use a more modern approach to a web-server, and then Nginx or LigHTTPD would be a better solution.

Personally I'd just stick Varnish in front of it and keep using the webserver that I've always felt comfortable with, Apache.

Re: H5ai - a beautified Apache index

#13

This is quite nice, however, if you are wanting to serve static content I no longer believe Apache the proper tool for the job. Use cherokee, lighttpd or nginx, they are all faster and have decent file interfaces.

I don't think this is true. Apache with mpm_worker and fastcgi for python/php should perform on a typical dedicated server like nginx till the network is saturated. you also have to consider that .htaccess files are quite cpu intensive because the way apache works they are parsed at every request. put your .htaccess config in the config-file disable unused modules and use mpm worker and I bet the difference is negligible. if you have to count every io operation and you run on small memory nginx may make a difference.

http://nbonvin.wordpress.com/2011/03/14/apache-vs-nginx-vs-v...

Re: H5ai - a beautified Apache index

#14

Apologies for the aside, but another one of this fellow's projects, jquery.fracs, is pretty impressive: https://github.com/lrsjng/jQuery.fracs

Thanks for the link.

This is used in h5ai. I find these views more useful that scroll bars. Its amazing what can be done inside the browser these days.

http://larsjung.de/fracs/

> jQuery.fracs determines the fraction of an HTML element that is currently in the viewport, as well as the fraction it takes of the complete viewport and the fraction of the area that might possibly be visible. It also provides the coordinates of the visible rectangle, absolute (in document space) and relative (in element space).

Post reply on HN