lighttpd works very well with static file hosting sites. If you serve small files like images, it work with very low server load and memory usage.
For image hosting, i use following configuration in
/etc/lighttpd/lighttpd.conf

server.max-keep-alive-requests = 4
server.max-keep-alive-idle = 4
server.event-handler = “linux-sysepoll”
server.network-backend = “linux-sendfile”
server.max-fds = 8192
server.stat-cache-engine = “fam”

Also use following values in /etc/sysctl.conf

# These ensure that TIME_WAIT ports [...]